UClass::EmitObjectReference

Realtime garbage collection helper function used to emit token containing information about a direct [UObject](API\Runtime\CoreUObject\UObject\UObject) reference at the passed in offset.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/Class.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/GarbageCollection.cpp

Syntax

void EmitObjectReference
(
    int32 Offset,
    const FName & DebugName,
    EGCReferenceType Kind
)

Remarks

Realtime garbage collection helper function used to emit token containing information about a direct UObject reference at the passed in offset.

Parameters

Parameter

Description

Offset

Offset into object at which object reference is stored.

DebugName

DebugName for this objects token. Only used in non-shipping builds.

Kind

Optional parameter the describe the type of the reference.

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