Navigation
API > API/Plugins > API/Plugins/USDClasses > API/Plugins/USDClasses/UUsdAssetCache3
References
| Module | USDClasses |
| Header | /Engine/Plugins/Runtime/USDCore/Source/USDClasses/Public/USDAssetCache3.h |
| Include | #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
)
Remarks
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.