Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/AssetManager.h |
Include |
#include "Engine/AssetManager.h" |
Source |
/Engine/Source/Runtime/Engine/Private/AssetManager.cpp |
TSharedPtr< FStreamableHandle > GetPrimaryAssetHandle
(
const FPrimaryAssetId & PrimaryAssetId,
bool bForceCurrent,
TArray< FName > * Bundles
) const
Returns the loading handle associated with the primary asset, it can then be checked for progress or waited on
Streamable Handle that can be used to poll or wait
Parameter |
Description |
---|---|
PrimaryAssetId |
Asset to get handle for |
bForceCurrent |
If true, returns the current handle. If false, will return pending if active, or current if not |
Bundles |
If not null, will fill in with a list of the requested bundle state |