Navigation
Unreal Engine C++ API Reference > Runtime > Core > UObject > TWeakObjectPtr > Get
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/UObject/WeakObjectPtrTemplates.h |
Include | #include "UObject/WeakObjectPtrTemplates.h" |
T &42; Get
&40;
bool bEvenIfPendingKill
&41; const
Remarks
Dereference the weak pointer nullptr if this object is gone or the weak pointer is explicitly null, otherwise a valid uobject pointer
Parameters
Name | Description |
---|---|
bEvenIfPendingKill | if this is true, pendingkill objects are considered valid |