unreal.ComponentMaterialInfo

class unreal.ComponentMaterialInfo(material_slot_name: Name = 'None', material_slot_index: int = 0, material_type: ComponentMaterialType = Ellipsis)

Bases: StructBase

Contains what is necessary to uniquely identify a material on a component, whether that be an indexed material, one with a slot name, or an overlay material.

C++ Source:

  • Module: MovieSceneTracks

  • File: MovieSceneMaterialTrack.h

Editor Properties: (see get_editor_property/set_editor_property)

  • material_slot_index (int32): [Read-Write]

  • material_slot_name (Name): [Read-Write]

  • material_type (ComponentMaterialType): [Read-Write]

property material_slot_index: int

[Read-Write]

Type:

(int32)

property material_slot_name: Name

[Read-Write]

Type:

(Name)

property material_type: ComponentMaterialType

[Read-Write]

Type:

(ComponentMaterialType)