unreal.DMMaterialStageInputGradient¶
- class unreal.DMMaterialStageInputGradient(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
DMMaterialStageInputThroughputDMMaterial 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)
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:
- classmethod change_stage_source_gradient(stage, gradient_class) DMMaterialStageInputGradient¶
Change Stage Source Gradient
- Parameters:
stage (DMMaterialStage)
- Return type:
- classmethod create_stage(material_stage_gradient_class, layer=None) DMMaterialStage¶
Create Stage
- Parameters:
layer (DMMaterialLayerObject)
- Return type:
- get_material_stage_gradient() DMMaterialStageGradient¶
Get Material Stage Gradient
- Return type: