Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/UObject/WeakObjectPtrTemplates.h |
Include |
#include "UObject/WeakObjectPtrTemplates.h" |
Slightly different than !IsValid(), returns true if this used to point to a UObject, but doesn't any more and has not been assigned or reset in the mean time.
true if this used to point at a real object but no longer does.
Parameter |
Description |
---|---|
bIncludingIfPendingKill |
if this is true, pendingkill objects are considered stale |
bThreadsafeTest |
set it to true when testing outside of Game Thread. Results in false if WeakObjPtr point to an existing object (no flags checked) |