Navigation
API > API/Plugins > API/Plugins/USDClasses > API/Plugins/USDClasses/UUsdAssetCache3
Description
This is the same as calling DeleteUnreferencedAssets and providing true for bShowConfirmation. It is just exposed in this manner so we automatically get a button for calling this function on details panels of the asset cache.
WARNING: This will clear the undo buffer (i.e. transaction history) and run garbage collection after deleting.
| Name | DeleteUnreferencedAssetsWithConfirmation |
| 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="Cleanup",
Meta=(CallInEditor="true", DisplayName="Delete Unreferenced Assets"))
void DeleteUnreferencedAssetsWithConfirmation()