Navigation
API > API/Runtime > API/Runtime/RuntimeAssetCache > API/Runtime/RuntimeAssetCache/URuntimeAssetCacheBuilder_Object-
Description
Call this to get the asset named AssetName from the runtime asset cache. If the asset does not exist on disk, then OnAssetCacheMiss will be called. Implement OnAssetCacheMiss in order to create the asset that you want cached.
| Name | GetFromCacheAsync |
| Type | function |
| Header File | /Engine/Source/Runtime/RuntimeAssetCache/Public/RuntimeAssetCacheBuilders.h |
| Include Path | #include "RuntimeAssetCacheBuilders.h" |
| Source | /Engine/Source/Runtime/RuntimeAssetCache/Private/RuntimeAssetCacheBuilders.cpp |
UFUNCTION (BlueprintCallable, Category=RuntimeAssetCache)
void GetFromCacheAsync
(
const FOnAssetCacheComplete & OnComplete
)