TWeakObjectPtr::Get

Dereference the weak pointer

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/UObject/WeakObjectPtrTemplates.h

Include

#include "UObject/WeakObjectPtrTemplates.h"

Syntax

T * Get
(
    bool bEvenIfPendingKill
) const

Remarks

Dereference the weak pointer

Returns

nullptr if this object is gone or the weak pointer is explicitly 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