Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/AssetRegistry > API/Runtime/CoreUObject/AssetRegistry/FAssetData > API/Runtime/CoreUObject/AssetRegistry/FAssetData/IsUAsset
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/AssetRegistry/AssetData.h |
Include | #include "AssetRegistry/AssetData.h" |
bool IsUAsset&40;&41; const
Remarks
Returns true if this is the main asset in a package, true for maps and assets but false for secondary objects like class redirectors Every UAsset is also a TopLevelAsset. Specifically, this is just testing whether the asset name matches the package name, and it is possible for legacy content to not return true for any asset in a package.