unreal.DMMaterialSubStage

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

Bases: DMMaterialStage

A stage that is a subobject of another stage, such as when an input throughput has its own inputs.

C++ Source:

  • Plugin: DynamicMaterial

  • Module: DynamicMaterialEditor

  • File: DMMaterialSubStage.h

Editor Properties: (see get_editor_property/set_editor_property)

  • can_change_source (bool): [Read-Only]

  • component_dirty (bool): [Read-Only]

  • component_state (DMComponentLifetimeState): [Read-Only]

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

  • enabled (bool): [Read-Only]

  • input_connection_map (Array[DMMaterialStageConnection]): [Read-Only] How our inputs connect to the inputs of this stage’s source

  • inputs (Array[DMMaterialStageInput]): [Read-Only]

  • parent_stage (DMMaterialStage): [Read-Only]

  • source (DMMaterialStageSource): [Read-Only]

classmethod create_material_sub_stage(parent_stage) DMMaterialSubStage

Create Material Sub Stage

Parameters:

parent_stage (DMMaterialStage)

Return type:

DMMaterialSubStage

get_parent_most_stage() DMMaterialStage

Recursively calls GetParentStage() to find the outer stage.

Return type:

DMMaterialStage

get_parent_stage() DMMaterialStage

Returns the parent stage of this stage, which is probably not its direct parent.

Return type:

DMMaterialStage

property parent_stage: DMMaterialStage

[Read-Only]

Type:

(DMMaterialStage)

set_parent_component(parent_component) None

Sets which object directly owns this component in the hierarchy.

Parameters:

parent_component (DMMaterialComponent)