Navigation
API > API/Plugins > API/Plugins/USDClasses > API/Plugins/USDClasses/UUsdAssetCache3
Description
Sets a particular asset as deletable or not. Assets not flagged as deletable will never be deleted by the asset cache when DeleteUnreferencedAssets is called. Assets the cache creates itself via GetOrCreateCachedAsset or GetOrCreateCustomCachedAsset are automatically set as deletable.
| Name | SetAssetDeletable |
| Type | function |
| Header File | /Engine/Plugins/Runtime/USDCore/Source/USDClasses/Public/USDAssetCache3.h |
| Include Path | #include "USDAssetCache3.h" |
| Source | /Engine/Plugins/Runtime/USDCore/Source/USDClasses/Private/USDAssetCache3.cpp |
UFUNCTION (BlueprintCallable, Category="USD", Meta=(CallInEditor="true"))
void SetAssetDeletable
(
const UObject * Asset,
bool bIsDeletable
)