unreal.PrimaryAssetType

class unreal.PrimaryAssetType(name: Name = 'None')

Bases: StructBase

A type of primary asset, used by the Asset Manager system. note: The full C++ class is located here: EngineSourceRuntimeCoreUObjectPublicUObjectPrimaryAssetId.h

C++ Source:

  • Module: CoreUObject

  • File: NoExportTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • name (Name): [Read-Write] The Type of this object, by default its base class’s name

__bool__() bool

Returns list of Primary Asset Ids for a PrimaryAssetType

__eq__(other: object) bool

Overloads:

  • PrimaryAssetType Returns true if the values are equal (A == B)

__ne__(other: object) bool

Overloads:

  • PrimaryAssetType Returns true if the values are not equal (A != B)

get_primary_asset_id_list() Array[PrimaryAssetId]

Returns list of PrimaryAssetIds for a PrimaryAssetType

Returns:

out_primary_asset_id_list (Array[PrimaryAssetId]):

Return type:

Array[PrimaryAssetId]

is_valid() bool

Returns list of Primary Asset Ids for a PrimaryAssetType

Return type:

bool

property name: Name

[Read-Write] The Type of this object, by default its base class’s name

Type:

(Name)

to_string() str

Converts a Primary Asset Type to a string. The other direction is not provided because it cannot be validated

Return type:

str