FTraceReferences

This traces referenced/referencer of an object using [FArchiveObjectGraph](API\Runtime\CoreUObject\Serialization\FArchiveObjectGraph).

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Serialization/TraceReferences.h

Include

#include "Serialization/TraceReferences.h"

Syntax

class FTraceReferences

Remarks

This traces referenced/referencer of an object using FArchiveObjectGraph.

Constructors

Name Description

Public function

FTraceReferences

(
    bool bIncludeTransients,
    EObjectFlags KeepFlags
)

This class is out of date and misses many references, replace with FReferenceChainSearch or FFindReferencersArchive

Functions

Name Description

Public function

int32

 

GetReferenced

(
    UObject* Object,
    TArray< FObjectGraphNode* >& ...,
    bool bExcludeSelf,
    int32 Depth
)

Returns referenced object list of an object

Public function

FString

 

GetReferencedString

(
    UObject* Object,
    int32 Depth
)

Returns referenced string of an object

Public function

int32

 

GetReferencer

(
    UObject* Object,
    TArray< FObjectGraphNode* >& ...,
    bool bExcludeSelf,
    int32 Depth
)

Returns referencer object list of an object

Public function

FString

 

GetReferencerString

(
    UObject* Object,
    int32 Depth
)

Returns referencer string of an object

Deprecated Functions

Name Description

Public function

 

FTraceReferences

(
    bool bIncludeTransients,
    EObjectFlags KeepFlags
)

This class is out of date and misses many references, replace with FReferenceChainSearch or FFindReferencersArchive