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 |
TSharedPtr< FStreamableHandle > RequestSyncLoad
(
TArray< FSoftObjectPath > TargetsToStream,
bool bManageActiveHandle,
FString DebugName
)
Synchronously load a set of assets, and return a handle. This can be very slow and may stall the game thread for several seconds.
Parameter |
Description |
---|---|
TargetsToStream |
Assets to load off disk |
bManageActiveHandle |
If true, the manager will keep the streamable handle active until explicitly released |
DebugName |
Name of this handle, will be reported in debug tools |