Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/UObject/WeakObjectPtrTemplates.h |
Include |
#include "UObject/WeakObjectPtrTemplates.h" |
T * Get
(
bool bEvenIfPendingKill
) const
Dereference the weak pointer
nullptr if this object is gone or the weak pointer is explicitly null, otherwise a valid uobject pointer
Parameter |
Description |
---|---|
bEvenIfPendingKill |
if this is true, pendingkill objects are considered valid |