Navigation
API > API/Plugins > API/Plugins/USDClasses > API/Plugins/USDClasses/UUsdAssetCache2
References
| Module | USDClasses |
| Header | /Engine/Plugins/Importers/USDImporter/Source/USDClasses/Public/USDAssetCache2.h |
| Include | #include "USDAssetCache2.h" |
| Source | /Engine/Plugins/Importers/USDImporter/Source/USDClasses/Private/USDAssetCache2.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"Caching", Meta&61;&40;CallInEditor&61;"true"&41;&41;
UObject &42; RemoveAsset
&40;
const FString & Hash
&41;
Remarks
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.