unreal.MetaHumanPaletteItemPath

class unreal.MetaHumanPaletteItemPath(item_key: MetaHumanPaletteItemKey = Ellipsis)

Bases: StructBase

Represents the path to a Wardrobe Item within a Collection.

Items can contain other items, and a FMetaHumanPaletteItemKey is only unique within the Collection or Wardrobe Item it belongs to, so to address a unique item takes a sequence of FMetaHumanPaletteItemKeys: one for each level of nesting.

C++ Source:

  • Plugin: MetaHumanCharacter

  • Module: MetaHumanCharacterPalette

  • File: MetaHumanPaletteItemPath.h

Editor Properties: (see get_editor_property/set_editor_property)

  • item (MetaHumanPaletteItemKey): [Read-Only] The last item in the path

  • parent_items (Array[MetaHumanPaletteItemKey]): [Read-Only] The sequence of parent items to reach the actual item referenced by this path.

    For the simple case where this path references a Wardrobe Item that is directly contained in a Collection, with no item nesting, this array will be empty.