UAssetManager::GetPrimaryAssetIdForData

Returns the primary asset Id for the given [FAssetData](API\Runtime\CoreUObject\AssetRegistry\FAssetData), only works if in directory

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 FPrimaryAssetId GetPrimaryAssetIdForData
(
    const FAssetData & AssetData
) const

Remarks

Returns the primary asset Id for the given FAssetData, only works if in directory

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