TLazyObjectPtr::IsStale

Slightly different than !IsValid(), returns true if this used to point to a [UObject](API\Runtime\CoreUObject\UObject\UObject), but doesn't any more and has not been assigned or reset in the mean time.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/LazyObjectPtr.h

Include

#include "UObject/LazyObjectPtr.h"

Syntax

bool IsStale() const

Remarks

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.

Returns

true if this used to point at a real object but no longer does.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss