FAssetData::GetAsset

Returns the asset [UObject](API\Runtime\CoreUObject\UObject\UObject) if it is loaded or loads the asset if it is unloaded then returns the result

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/AssetRegistry/AssetData.h

Include

#include "AssetRegistry/AssetData.h"

Syntax

UObject * GetAsset() const

Remarks

Returns the asset UObject if it is loaded or loads the asset if it is unloaded then returns the result

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss