UClass::AddReferencedObjects

Callback used to allow an object to register its direct object references that are not already covered by the token stream.

Choose your operating system:

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/Class.cpp

Syntax

static void AddReferencedObjects
(
    UObject * InThis,
    FReferenceCollector & Collector
)

Remarks

Callback used to allow an object to register its direct object references that are not already covered by the token stream.

Parameters

Parameter

Description

ObjectArray

array to add referenced objects to via AddReferencedObject