Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include | #include "UObject/UObjectGlobals.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectGlobals.cpp |
bool IsReferenced
(
UObject *& Res,
EObjectFlags KeepFlags,
EInternalObjectFlags InternalKeepFlags,
bool bCheckSubObjects,
FReferencerInformationList * FoundReferences
)
Remarks
Returns whether an object is referenced, not counting references from itself true if object is referenced, false otherwise
Parameters
| Name | Description |
|---|---|
| Obj | Object to check |
| KeepFlags | Objects with these flags will be considered as being referenced |
| InternalKeepFlags | Objects with these internal flags will be considered as being referenced |
| bCheckSubObjects | Treat subobjects as if they are the same as passed in object |
| FoundReferences | If non-nullptr fill in with list of objects that hold references |