UAssetManager::ExtractPrimaryAssetIdFromData

Parses AssetData to extract the primary type/name from it.

Choose your operating system:

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 ExtractPrimaryAssetIdFromData
(
    const FAssetData & AssetData,
    FPrimaryAssetType SuggestedType
) const

Remarks

Parses AssetData to extract the primary type/name from it. This works even if it isn't in the directory