unreal.DMMaterialStageInputExpression¶
- class unreal.DMMaterialStageInputExpression(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
DMMaterialStageInputThroughputDMMaterial 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)
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:
- classmethod change_stage_source_expression(stage, expression_class) DMMaterialStageInputExpression¶
Change Stage Source Expression
- Parameters:
stage (DMMaterialStage)
- Return type:
- classmethod create_stage(material_stage_expression_class, layer=None) DMMaterialStage¶
Create Stage
- Parameters:
layer (DMMaterialLayerObject)
- Return type:
- get_material_stage_expression() DMMaterialStageExpression¶
Get Material Stage Expression
- Return type: