UWorld::GetPrimaryAssetId

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

Windows
MacOS
Linux

Override Hierarchy

UObject::GetPrimaryAssetId()

UWorld::GetPrimaryAssetId()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/World.h

Include

#include "Engine/World.h"

Source

/Engine/Source/Runtime/Engine/Private/World.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

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