Language:
Discover
By Skill Level
By Category

FPrimaryAssetId

Choose your OS:

Syntax

struct FPrimaryAssetId

Remarks

This identifies an object as a "primary" asset that can be searched for by the AssetManager and used in various tools

Variables

Name Description

Public variable

FName

 

PrimaryAssetName

The Name of this object, by default it's short name

Public variable

FPrimaryAssetTy ...

 

PrimaryAssetType

The Type of this object, by default it's base class's name

Constructors

Name Description

Public function

FPrimaryAssetId()

Public function

FPrimaryAssetId

(
    const FString & InString
)

Public function

FPrimaryAssetId

(
    FPrimaryAssetType InAssetType,
    FName InAssetName
)

Functions

Name Description

Public function

bool

 

ExportTextItem

(
    FString & ValueStr,
    FPrimaryAssetId const& DefaultValu...,
    UObject * Parent,
    int32 PortFlags,
    UObject * ExportRootScope
)

UStruct Overrides

Public function Static

FPrimaryAsse ...

 

FromString

(
    const FString & String
)

Converts from Type:Name format

Public function

bool

 

ImportTextItem

(
    const TCHAR *& Buffer,
    int32 PortFlags,
    UObject * Parent,
    FOutputDevice * ErrorText
)

Public function

bool

 

IsValid()

Returns true if this is a valid identifier

Public function

bool

 

SerializeFromMismatchedTag

(
    FPropertyTag const& Tag,
    FArchive & Ar
)

Public function

FString

 

ToString()

Returns string version of this identifier in Type:Name format

Operators

Name Description

Public function

bool

 

operator!=

(
    const FPrimaryAssetId & Other
)

Public function

FPrimaryAsse ...

 

operator=

(
    const FPrimaryAssetId & Other
)

Public function

bool

 

operator==

(
    const FPrimaryAssetId & Other
)

Constants

Name

Description

PrimaryAssetNameTag

PrimaryAssetTypeTag

Static names to represent the AssetRegistry tags for the above data

References

Module

CoreUObject

Header

Runtime/CoreUObject/Public/UObject/NoExportTypes.h