EInternalObjectFlags

Objects flags for internal use (GC, low level [UObject](API\Runtime\CoreUObject\UObject\UObject) code)

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/ObjectMacros.h"

Syntax

enum EInternalObjectFlags
{
    None                          = 0,
    ReachableInCluster            = 1 << 23,
    ClusterRoot                   = 1 << 24,
    Native                        = 1 << 25,
    Async                         = 1 << 26,
    AsyncLoading                  = 1 << 27,
    Unreachable                   = 1 << 28,
    PendingKill                   = 1 << 29,
    RootSet                       = 1 << 30,
    GarbageCollectionKeepFlags    = Native | Async | AsyncLoading,
    AllFlags                      = ReachableInCluster | ClusterRoot | Native | Async | AsyncLoading | Unreachable | PendingKill | RootSet,
}

Values

Name

Description

None

ReachableInCluster

External reference to object in cluster exists.

ClusterRoot

Root of a cluster.

Native

Native (UClass only).

Async

Object exists only on a different thread than the game thread.

AsyncLoading

Object is being asynchronously loaded.

Unreachable

Object is not reachable on the object graph.

PendingKill

Objects that are pending destruction (invalid for gameplay but valid objects)

RootSet

Object will not be garbage collected, even if unreferenced.

GarbageCollectionKeepFlags

AllFlags

Remarks

Objects flags for internal use (GC, low level UObject code)

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