Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/TWeakFieldPtr
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsValid () |
Test if this points to a live FField. | UObject/WeakFieldPtr.h | |
bool IsValid
(
bool bEvenIfPendingKill, |
Test if this points to a live FField | UObject/WeakFieldPtr.h |
IsValid()
Description
Test if this points to a live FField. This is an optimized version implying bEvenIfPendingKill=false, bThreadsafeTest=false.
| Name | IsValid |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/WeakFieldPtr.h |
| Include Path | #include "UObject/WeakFieldPtr.h" |
bool IsValid() const
true if Get() would return a valid non-null pointer
IsValid(bool, bool)
Description
Test if this points to a live FField
| Name | IsValid |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/WeakFieldPtr.h |
| Include Path | #include "UObject/WeakFieldPtr.h" |
bool IsValid
(
bool bEvenIfPendingKill,
bool bThreadsafeTest
) const
true if Get() would return a valid non-null pointer
Parameters
| Name | Remarks |
|---|---|
| bEvenIfPendingKill, if | this is true, pendingkill objects are considered valid |
| bThreadsafeTest, if | true then function will just give you information whether referenced FField is gone forever ( |