Navigation
API > API/Plugins > API/Plugins/USDClasses > API/Plugins/USDClasses/UUsdAssetCache2
Description
Marks the provided asset as being used at this point, optionally adding a specific referencer. This is useful because the asset cache will always prioritize retaining the most recently used assets
| Name | TouchAsset |
| 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"))
bool TouchAsset
(
const UObject * Asset,
const UObject * Referencer
)