UPrimaryDataAsset::GetPrimaryAssetId

Returns an Type:Name pair representing the PrimaryAssetId for this object.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UObject::GetPrimaryAssetId()

UPrimaryDataAsset::GetPrimaryAssetId()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/DataAsset.h

Include

#include "Engine/DataAsset.h"

Source

/Engine/Source/Runtime/Engine/Private/DataAsset.cpp

Syntax

virtual FPrimaryAssetId GetPrimaryAssetId() const

Remarks

Returns an Type:Name pair representing the PrimaryAssetId for this object. Assets that need to be globally referenced at runtime should return a valid Identifier. If this is valid, the object can be referenced by identifier using the AssetManager