Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/StaticFindObjectFast
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 |
UObject * StaticFindObjectFast
(
UClass * Class,
UObject * InOuter,
FName InName,
bool bExactClass,
bool bAnyPackage,
EObjectFlags ExclusiveFlags,
EInternalObjectFlags ExclusiveInternalFlags
)
Remarks
Fast version of StaticFindObject that relies on the passed in FName being the object name without any group/package qualifiers. This will only find top level packages or subobjects nested directly within a passed in outer. Returns a pointer to the found object or null if none could be found
Parameters
| Name | Description |
|---|---|
| Class | The to be found object's class |
| InOuter | Outer object to look inside, if null this will only look for top level packages |
| InName | Object name to look for relative to InOuter |
| bExactClass | Whether to require an exact match with the passed in class |
| bAnyPackage | Whether to look in any package |
| ExclusiveFlags | Ignores objects that contain any of the specified exclusive flags |
| ExclusiveInternalFlags | Ignores objects that contain any of the specified internal exclusive flags |