Navigation
API > API/Plugins > API/Plugins/USDClasses > API/Plugins/USDClasses/UUsdAssetCache2
Description
Returns true if the asset with the given hash can be removed from the cache. It will return false in case the asset is still being used, either by another consumer asset or directly by some referencer.
| Name | CanRemoveAsset |
| 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 CanRemoveAsset
(
const FString & Hash
)