Navigation
API > API/Plugins > API/Plugins/USDClasses
Description
Utilities to allow getting and setting our AssetImportData to an asset from a base UObject*. Note that not all asset types support AssetImportData, and in some cases when retrieving it for e.g. a Skeleton, we'll actually check it's preview mesh instead (since Skeletons don't have AssetImportData). The setter won't do anything if you try setting asset import data on e.g. a Skeleton, on the other hand.
| Name | UsdUnreal::ObjectUtils::GetBaseAssetImportData |
| Type | function |
| Header File | /Engine/Plugins/Runtime/USDCore/Source/USDClasses/Public/USDObjectUtils.h |
| Include Path | #include "USDObjectUtils.h" |
| Source | /Engine/Plugins/Runtime/USDCore/Source/USDClasses/Private/USDObjectUtils.cpp |
namespace UsdUnreal
{
namespace ObjectUtils
{
UAssetImportData * UsdUnreal::ObjectUtils::GetBaseAssetImportData
(
UObject * Asset
)
}
}