TPersistentObjectPtr::Get

Dereference the lazy pointer, which may cause it to become valid again.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/PersistentObjectPtr.h"

Syntax

UObject * Get
(
    bool bEvenIfPendingKill
) const

Remarks

Dereference the lazy pointer, which may cause it to become valid again. Will not try to load pending outside of game thread

Returns

nullptr if this object is gone or the lazy pointer was null, otherwise a valid UObject pointer

Parameters

Parameter

Description

bEvenIfPendingKill, if

this is true, pendingkill objects are considered valid

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