Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > UWorld
- UObject::ResolveSubobject()
- UWorld::ResolveSubobject()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
Include | #include "Engine/World.h" |
Source | /Engine/Source/Runtime/Engine/Private/World.cpp |
virtual bool ResolveSubobject
&40;
const TCHAR &42; SubObjectPath,
UObject &42;& OutObject,
bool bLoadIfExists
&41;
Remarks
Called to defer loading a subobject to its top-level container object. Useful with the package override feature, where an object might not be saved in the same package as its outer, especially if the the top-level object does lazy loading of these objects. true if the object loaded or exists, depending on bLoadIfExists
Parameters
Name | Description |
---|---|
SubObjectPath | object path to handle, relative to the current implementer |
OutObject | receives the loaded object, or existing loaded object if bOnlyTestExistence is true and object is already loaded |
bLoadIfExists | if true, load the object if it exists |