UBlueprintGeneratedClass::GetPrimaryAssetId

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

Windows
MacOS
Linux

Override Hierarchy

UObject::GetPrimaryAssetId()

UBlueprintGeneratedClass::GetPrimaryAssetId()

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

References

Module

Engine

Header

Runtime/Engine/Classes/Engine/BlueprintGeneratedClass.h

Source

Runtime/Engine/Private/BlueprintGeneratedClass.cpp

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback