FPrimaryAssetType

A primary asset type, represented as an [FName](API\Runtime\Core\UObject\FName) internally and implicitly convertible back and forth This exists so the blueprint API can understand it's not a normal [FName](API\Runtime\Core\UObject\FName)

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/PrimaryAssetId.h

Include

#include "UObject/PrimaryAssetId.h"

Syntax

struct FPrimaryAssetType

Remarks

A primary asset type, represented as an FName internally and implicitly convertible back and forth This exists so the blueprint API can understand it's not a normal FName

Constructors

Name Description

Public function

FPrimaryAssetType()

Convert from FName

Public function

FPrimaryAssetType

(
    FName InName
)

Public function

FPrimaryAssetType

(
    EName InName
)

Public function

FPrimaryAssetType

(
    const WIDECHAR* InName
)

Public function

FPrimaryAssetType

(
    const ANSICHAR* InName
)

Functions

Name Description

Public function Const

void

 

AppendString

(
    FStringBuilderBase& Builder
)

Appends to the given builder the string version of this Type

Public function Const

bool

 

ExportTextItem

(
    FString& ValueStr,
    FPrimaryAssetType const& DefaultVa...,
    UObject* Parent,
    int32 PortFlags,
    UObject* ExportRootScope
)

UStruct Overrides

Public function Const

FName

 

GetName()

Returns internal Name explicitly, not normally needed

Public function

bool

 

ImportTextItem

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

Public function Const

bool

 

IsValid()

Returns true if this is a valid Type

Public function

bool

 

SerializeFromMismatchedTag

(
    FPropertyTag const& Tag,
    FStructuredArchive::FSlot Slot
)

Public function Const

FString

 

ToString()

Returns string version of this Type

Operators

Name Description

Public function Const

 

operator const FName &()

Public function

 

operator FName &()

Convert to FName

Public function Const

bool

 

operator!=

(
    const FPrimaryAssetType& Other
)

Public function

FPrimaryAsse...

 

operator=

(
    const FPrimaryAssetType& Other
)

Public function Const

bool

 

operator==

(
    const FPrimaryAssetType& Other
)