Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/StreamableManager.h |
Include |
#include "Engine/StreamableManager.h" |
Source |
/Engine/Source/Runtime/Engine/Private/StreamableManager.cpp |
UObject * LoadSynchronous
(
const FSoftObjectPath & Target,
bool bManageActiveHandle,
TSharedPtr< FStreamableHandle > * RequestHandlePointer
)
Synchronously load the referred asset and return the loaded object, or nullptr if it can't be found. This can be very slow and may stall the game thread for several seconds.
Parameter |
Description |
---|---|
Target |
Specific asset to load off disk |
bManageActiveHandle |
If true, the manager will keep the streamable handle active until explicitly released |
RequestHandlePointer |
If non-null, this will set the handle to the handle used to make this request. This useful for later releasing the handle |