unreal.PrimaryAssetType

class unreal.PrimaryAssetType(name='None')

Bases: unreal.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__()

Returns list of Primary Asset Ids for a PrimaryAssetType

__eq__(other)

Overloads:

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

__ne__(other)

Overloads:

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

get_primary_asset_id_list()

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

Returns

Return type

bool

property 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

Returns

Return type

str