FProperty_DoNotUse::Unsafe_AlterOffset

To facilitate runtime binding with native C++ data-members, we need a way of updating a property's generated offset.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/UnrealType.h"

Syntax

static void Unsafe_AlterOffset
(
    FProperty & Property,
    const int32 OffsetOverride
)

Remarks

To facilitate runtime binding with native C++ data-members, we need a way of updating a property's generated offset. This is needed for pre-generated properties, which are then loaded later, and fixed up to point at explicitly mapped C++ data-members.

Explicitly exposed for this singular case DO NOT USE 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