UAssetManager::GetPrimaryAssetData

Gets the [FAssetData](API\Runtime\CoreUObject\AssetRegistry\FAssetData) for a primary asset with the specified type/name, will only work for once that have been scanned for already.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/AssetManager.h

Include

#include "Engine/AssetManager.h"

Source

/Engine/Source/Runtime/Engine/Private/AssetManager.cpp

Syntax

virtual bool GetPrimaryAssetData
(
    const FPrimaryAssetId & PrimaryAssetId,
    FAssetData & AssetData
) const

Remarks

Gets the FAssetData for a primary asset with the specified type/name, will only work for once that have been scanned for already. Returns true if it found a valid data

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