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)

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
)

Select Skin
Light
Dark

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