Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/StaticFindObject
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 * StaticFindObject
(
UClass * Class,
UObject * InOuter,
const TCHAR * Name,
bool ExactClass
)
Remarks
Tries to find an object in memory. This will handle fully qualified paths of the form /path/packagename.object:subobject and resolve references for you. Returns a pointer to the found object or nullptr if none could be found
Parameters
| Name | Description |
|---|---|
| Class | The to be found object's class |
| InOuter | Outer object to look inside. If this is null then InName should start with a package name |
| InName | The object path to search for an object, relative to InOuter |
| ExactClass | Whether to require an exact match with the passed in class |