Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/AssetRegistry > API/Runtime/CoreUObject/AssetRegistry/FAssetData > API/Runtime/CoreUObject/AssetRegistry/FAssetData/IsTopLevelAsset
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/AssetRegistry/AssetData.h |
| Include | #include "AssetRegistry/AssetData.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/AssetRegistry/AssetData.cpp |
bool IsTopLevelAsset() const
Remarks
Returns true iff the Asset is a TopLevelAsset (not a subobject, its outer is a UPackage). Only TopLevelAssets can be PrimaryAssets in the AssetManager. A TopLevelAsset is not necessarily the main asset in a package; see IsUAsset. Note that this is distinct from UObject::IsAsset because IsAsset can be overloaded (see e.g. AActor::IsAsset)