unreal.PrimaryAssetType

class unreal.PrimaryAssetType(name='None')

Bases: unreal.StructBase

A type of primary asset, used by the Asset Manager system. 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
__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)
__nonzero__()

Returns list of Primary Asset Ids for a PrimaryAssetType

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

Returns:
Return type:bool
name

(Name) – [Read-Write] The Type of this object, by default its base class’s 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