unreal.DMMaterialStageInputGradient

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

Bases: DMMaterialStageInputThroughput

DMMaterial Stage Input Gradient

C++ Source:

  • Plugin: DynamicMaterial

  • Module: DynamicMaterialEditor

  • File: DMMSIGradient.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_gradient(stage, gradient_class, input_idx, input_channel, output_channel) DMMaterialStageInputGradient

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

Parameters:
  • stage (DMMaterialStage)

  • gradient_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_channel (int32) – The channel of the output to connect.

Return type:

DMMaterialStageInputGradient

classmethod change_stage_source_gradient(stage, gradient_class) DMMaterialStageInputGradient

Change Stage Source Gradient

Parameters:
Return type:

DMMaterialStageInputGradient

classmethod create_stage(material_stage_gradient_class, layer=None) DMMaterialStage

Create Stage

Parameters:
Return type:

DMMaterialStage

get_material_stage_gradient() DMMaterialStageGradient

Get Material Stage Gradient

Return type:

DMMaterialStageGradient

get_material_stage_gradient_class()

Get Material Stage Gradient Class

Return type:

type(Class)

set_material_stage_gradient_class(material_stage_gradient_class) None

Set Material Stage Gradient Class

Parameters:

material_stage_gradient_class (type(Class))