Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Engine > API/Runtime/Engine/Engine/FStreamableManager > API/Runtime/Engine/Engine/FStreamableManager/RequestAsyncLoad
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/StreamableManager.h |
Include | #include "Engine/StreamableManager.h" |
Source | /Engine/Source/Runtime/Engine/Private/StreamableManager.cpp |
TSharedPtr< FStreamableHandle > RequestAsyncLoad
&40;
TArray< FSoftObjectPath > TargetsToStream,
FStreamableDelegate DelegateToCall,
TAsyncLoadPriority Priority,
bool bManageActiveHandle,
bool bStartStalled,
FString DebugName
&41;
Remarks
This is the primary streamable operation. Requests streaming of one or more target objects. When complete, a delegate function is called. Returns a Streamable Handle.
Parameters
Name | Description |
---|---|
TargetsToStream | Assets to load off disk |
DelegateToCall | Delegate to call when load finishes. Will be called on the next tick if asset is already loaded, or many seconds later |
Priority | Priority to pass to the streaming system, higher priority will be loaded first |
bManageActiveHandle | If true, the manager will keep the streamable handle active until explicitly released |
bStartStalled | If true, the handle will start in a stalled state and will not attempt to actually async load until StartStalledHandle is called on it |
DebugName | Name of this handle, will be reported in debug tools |