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 StaticFindAllObjectsFastSafe
(
TArray < UObject * > & OutFoundObjects,
UClass * ObjectClass,
FName ObjectName,
bool ExactClass,
EObjectFlags ExclusiveFlags,
EInternalObjectFlags ExclusiveInternalFlags
)
Remarks
Fast version of StaticFindAllObjects that relies on the passed in FName being the object name without any group/package qualifiers. This will find all objects matching the specified name and class. This version of StaticFindAllObjectsFast will not assert on GIsSavingPackage or IsGarbageCollecting() Returns true if any objects were found, false otherwise
Parameters
| Name | Description |
|---|---|
| OutFoundObjects | Array of objects matching the search parameters |
| ObjectClass | The to be found object's class |
| ObjectName | Object name to look for relative to InOuter |
| ExactClass | Whether to require an exact match with the passed in class |
| ExclusiveFlags | Ignores objects that contain any of the specified exclusive flags |
| ExclusiveInternalFlags | Ignores objects that contain any of the specified internal exclusive flags |