Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/UGCObjectReferencer
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/GCObject.h |
| Include | #include "UObject/GCObject.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/Misc/GCObjectReferencer.cpp |
bool GetReferencerName
&40;
UObject &42; Object,
FString & OutName,
bool bOnlyIfAddingReferenced
&41; const
Remarks
Get the name of the first FGCObject that owns this object. true if the object was found.
Parameters
| Name | Description |
|---|---|
| Object | The object that we're looking for. |
| OutName | the name of the FGCObject that reports this object. |
| bOnlyIfAddingReferenced | Only try to find the name if we are currently inside AddReferencedObjects |