unreal.DMMaterialStageInputExpression

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

Bases: DMMaterialStageInputThroughput

DMMaterial Stage Input Expression

C++ Source:

  • Plugin: DynamicMaterial

  • Module: DynamicMaterialEditor

  • File: DMMSIExpression.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]

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

  • sub_stage (DMMaterialSubStage): [Read-Only]

classmethod change_stage_input_expression(stage, expression_class, input_idx, input_channel, output_idx, output_channel) DMMaterialStageInputExpression

Change the input type of an input on a stage to an expression.

Parameters:
  • stage (DMMaterialStage)

  • expression_class (type(Class))

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

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

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

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

Return type:

DMMaterialStageInputExpression

classmethod change_stage_source_expression(stage, expression_class) DMMaterialStageInputExpression

Change Stage Source Expression

Parameters:
Return type:

DMMaterialStageInputExpression

classmethod create_stage(material_stage_expression_class, layer=None) DMMaterialStage

Create Stage

Parameters:
Return type:

DMMaterialStage

get_material_stage_expression() DMMaterialStageExpression

Get Material Stage Expression

Return type:

DMMaterialStageExpression

get_material_stage_expression_class()

Get Material Stage Expression Class

Return type:

type(Class)

set_material_stage_expression_class(material_stage_expression_class) None

Set Material Stage Expression Class

Parameters:

material_stage_expression_class (type(Class))