unreal.DMMaterialStageInputSlot

class unreal.DMMaterialStageInputSlot(outer: Object | None = None, name: Name | str = 'None')

Bases: DMMaterialStageInput

DMMaterial Stage Input Slot

C++ Source:

  • Plugin: DynamicMaterial

  • Module: DynamicMaterialEditor

  • File: DMMSISlot.h

Editor Properties: (see get_editor_property/set_editor_property)

  • component_dirty (bool): [Read-Only]

  • component_state (DMComponentLifetimeState): [Read-Only]

  • editable_properties (Array[Name]): [Read-Only]

  • material_property (DMMaterialPropertyType): [Read-Only]

  • output_connectors (Array[DMMaterialStageConnector]): [Read-Only]

  • slot (DMMaterialSlot): [Read-Only]

classmethod change_stage_input_slot(stage, input_idx, input_channel, slot, property_, output_idx, output_channel) DMMaterialStageInputSlot

Change the input type of an input on a stage to the output of another slot.

Parameters:
  • stage (DMMaterialStage)

  • input_idx (int32) – Index of the source input.

  • input_channel (int32) – The channel of the input that the input connects to.

  • slot (DMMaterialSlot)

  • property (DMMaterialPropertyType) – The property of the slot to use.

  • output_idx (int32) – The output index of the new input.

  • output_channel (int32) – The channel of the output to connect.

Return type:

DMMaterialStageInputSlot

classmethod change_stage_source_slot(stage, slot, property_) DMMaterialStageInputSlot

Change Stage Source Slot

Parameters:
Return type:

DMMaterialStageInputSlot

classmethod create_stage(source_slot, material_property, layer=None) DMMaterialStage

Create Stage

Parameters:
Return type:

DMMaterialStage

get_material_property() DMMaterialPropertyType

Get Material Property

Return type:

DMMaterialPropertyType

get_slot() DMMaterialSlot

Get Slot

Return type:

DMMaterialSlot

property material_property: DMMaterialPropertyType

[Read-Only]

Type:

(DMMaterialPropertyType)

set_material_property(material_property) None

Set Material Property

Parameters:

material_property (DMMaterialPropertyType)

set_slot(slot) None

Set Slot

Parameters:

slot (DMMaterialSlot)

property slot: DMMaterialSlot

[Read-Only]

Type:

(DMMaterialSlot)