Navigation
API > API/Plugins > API/Plugins/USDClasses > API/Plugins/USDClasses/UUsdAssetCache2
Description
Returns the hash associated with an asset, in case we own it. Returns the empty string otherwise. Note: This has O(1) time complexity.
| Name | GetHashForAsset |
| 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="USD", Meta=(CallInEditor="true"))
FString GetHashForAsset
(
const UObject * Asset
) const