unreal.MetaHumanPaletteItemKey

class unreal.MetaHumanPaletteItemKey(references_external_wardrobe_item: bool = False)

Bases: StructBase

Uniquely identifies an item in a UMetaHumanCharacterPalette

C++ Source:

  • Plugin: MetaHumanCharacter

  • Module: MetaHumanCharacterPalette

  • File: MetaHumanPaletteItemKey.h

Editor Properties: (see get_editor_property/set_editor_property)

  • principal_asset_or_external_wardrobe_item (Object): [Read-Only]

  • references_external_wardrobe_item (bool): [Read-Only]

  • variation (Name): [Read-Only] A name used to disambiguate items that reference the same asset or wardrobe item.

    This is expected to be NAME_None in most cases.

property references_external_wardrobe_item: bool

[Read-Only]

Type:

(bool)

references_same_asset(other) bool

brief: Returns true if the other key is identical to this one except for Variation

Parameters:

other (MetaHumanPaletteItemKey)

Return type:

bool

to_asset_name_string() str

brief: Produces a string suitable for using as part of an asset name

Return type:

str