Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject > FReferenceCollector > AddReferencedObject
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
Include | #include "UObject/UObjectGlobals.h" |
template<class UObjectType>
void AddReferencedObject
&40;
const UObjectType &42;& Object,
const UObject &42; ReferencingObject,
const FProperty &42; ReferencingProperty
&41;
Remarks
Adds const object reference, this reference can still be nulled out if forcefully collected.
Parameters
Name | Description |
---|---|
Object | Referenced object. |
ReferencingObject | Referencing object (if available). |
ReferencingProperty | Referencing property (if available). |