FReferenceCollector::AddReferencedObject

Adds const object reference, this reference can still be nulled out if forcefully collected.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/UObjectGlobals.h"

Syntax

template<class UObjectType>
void AddReferencedObject
(
    const UObjectType *& Object,
    const UObject * ReferencingObject,
    const FProperty * ReferencingProperty
)

Remarks

Adds const object reference, this reference can still be nulled out if forcefully collected.

Parameters

Parameter

Description

Object

Referenced object.

ReferencingObject

Referencing object (if available).

ReferencingProperty

Referencing property (if available).

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