Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TWeakObjectPtr
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T * Get () |
Dereference the weak pointer. This is an optimized version implying bEvenIfPendingKill=false. | UObject/WeakObjectPtrTemplates.h | |
T * Get
(
bool bEvenIfPendingKill |
Dereference the weak pointer | UObject/WeakObjectPtrTemplates.h |
Get()
Description
Dereference the weak pointer. This is an optimized version implying bEvenIfPendingKill=false.
| Name | Get |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/UObject/WeakObjectPtrTemplates.h |
| Include Path | #include "UObject/WeakObjectPtrTemplates.h" |
T * Get() const
Get(bool)
Description
Dereference the weak pointer
| Name | Get |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/UObject/WeakObjectPtrTemplates.h |
| Include Path | #include "UObject/WeakObjectPtrTemplates.h" |
T * Get
(
bool bEvenIfPendingKill
) const
nullptr if this object is gone or the weak pointer is explicitly null, otherwise a valid uobject pointer
Parameters
| Name | Remarks |
|---|---|
| bEvenIfPendingKill | if this is true, pendingkill objects are considered valid |