Navigation
API > API/Plugins > API/Plugins/USDClasses > API/Plugins/USDClasses/UUsdAssetCache3
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UObject * GetCachedAsset
(
const FString& Hash |
Returns the asset associated with a particular Hash, if any. | USDAssetCache3.h |
|
T * GetCachedAsset
(
const FString& Hash |
Templated version of GetCachedAsset for convenience | USDAssetCache3.h |
GetCachedAsset(const FString &)
Description
Returns the asset associated with a particular Hash, if any. Returns nullptr if there isn't any associated path to this Hash, or if the associated path doesn't resolve to an asset.
WARNING: As this may try loading a package from disk, this can only be called from the game thread!
| Name | GetCachedAsset |
| 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="USD", Meta=(CallInEditor="true"))
UObject * GetCachedAsset
(
const FString & Hash
) const
GetCachedAsset(const FString &)
Description
Templated version of GetCachedAsset for convenience
WARNING: As this may try loading a package from disk, this can only be called from the game thread!
| Name | GetCachedAsset |
| Type | function |
| Header File | /Engine/Plugins/Runtime/USDCore/Source/USDClasses/Public/USDAssetCache3.h |
| Include Path | #include "USDAssetCache3.h" |
template<typename T>
T * GetCachedAsset
(
const FString & Hash
)