Navigation
API > API/Plugins > API/Plugins/USDClasses > API/Plugins/USDClasses/UUsdAssetCache2
Description
Returns an asset associated with a particular `Hash_. If the asset is persistent, unloaded and the "USD.OnDemandCachedAssetLoading" cvar is true, this may cause the asset to be read from the asset cache's file on disk.
| Name | GetCachedAsset |
| Type | function |
| Header File | /Engine/Plugins/Runtime/USDCore/Source/USDClasses/Public/USDAssetCache2.h |
| Include Path | #include "USDAssetCache2.h" |
| Source | /Engine/Plugins/Runtime/USDCore/Source/USDClasses/Private/USDAssetCache2.cpp |
UFUNCTION (BlueprintCallable, Category="Caching", Meta=(CallInEditor="true"))
UObject * GetCachedAsset
(
const FString & Hash
)