Navigation
API > API/Plugins > API/Plugins/USDClasses > API/Plugins/USDClasses/UUsdAssetCache2
Description
If an asset is associated with `Hash_, it will be returned and the asset cache will stop tracking this asset entirely. Returns nullptr otherwise. See CanRemoveAsset.
WARNING: The asset will still be outer'd to the asset cache, however. The caller is in charge of properly placing the asset at a new Outer object.
| Name | RemoveAsset |
| 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"))
UObject * RemoveAsset
(
const FString & Hash
)