Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/AssetRegistry > API/Runtime/CoreUObject/AssetRegistry/FAssetData
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/AssetRegistry/AssetData.h |
| Include | #include "AssetRegistry/AssetData.h" |
UObject &42; GetAsset
&40;
TSet< FName > LoadTags
&41; const
Remarks
Returns the asset UObject if it is loaded or loads the asset if it is unloaded then returns the result
Note this can return nullptr even if it looks like the asset exists because it doesn't handle redirects.
Parameters
| Name | Description |
|---|---|
| LoadTags | (optional) allows passing specific tags to the linker when loading the asset ( |
See Also
ULevel::LoadAllExternalObjectsTagfor an example usage)