FPackageReloadedEvent::GetRepointedObject

Given an object pointer, check to see if it needs to be repointed to an object in the new package, and populate OutRepointedObject if needed.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/PackageReload.h"

Syntax

template<typename InObjectType, typename OutObjectType>
bool GetRepointedObject
(
    InObjectType * InObject,
    OutObjectType *& OutRepointedObject
) const

Remarks

Given an object pointer, check to see if it needs to be repointed to an object in the new package, and populate OutRepointedObject if needed.

Returns

true if the object can be repointed, false otherwise.

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