unreal.DMMaterialStage
¶
- class unreal.DMMaterialStage(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
DMMaterialComponent
A node which handles a specific operation and manages its inputs and outputs.
C++ Source:
Plugin: DynamicMaterial
Module: DynamicMaterialEditor
File: DMMaterialStage.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 sourceinputs
(Array[DMMaterialStageInput]): [Read-Only]is_being_edited
(bool): [Read-Only]preview_material_base
(Material): [Read-Only]preview_material_dynamic
(MaterialInstanceDynamic): [Read-Only]source
(DMMaterialStageSource): [Read-Only]
- add_input(new_input) None ¶
Add Input
- Parameters:
new_input (DMMaterialStageInput) –
- change_input(input_class, input_idx, input_channel, output_idx, output_channel) DMMaterialStageInput ¶
Change Input
- Parameters:
- Return type:
- change_input_previous_stage(input_idx, input_channel, previous_stage_property, output_idx, output_channel) DMMaterialStageSource ¶
Change Input Previous Stage
- Parameters:
input_idx (int32) –
input_channel (int32) –
previous_stage_property (DMMaterialPropertyType) –
output_idx (int32) –
output_channel (int32) –
- Return type:
- change_source(source_class) DMMaterialStageSource ¶
Change Source
- Parameters:
- Return type:
- classmethod create_material_stage(layer=None) DMMaterialStage ¶
Create Material Stage
- Parameters:
layer (DMMaterialLayerObject) –
- Return type:
- find_index() int32 ¶
Find Index
- Return type:
int32
- get_input_connection_map() Array[DMMaterialStageConnection] ¶
Determines what connects to what on this stage’s Source.
- Return type:
- get_inputs() Array[DMMaterialStageInput] ¶
Get Inputs
- Return type:
- get_layer() DMMaterialLayerObject ¶
Get Layer
- Return type:
- get_next_stage() DMMaterialStage ¶
Get Next Stage
- Return type:
- get_preview_material() MaterialInterface ¶
Get Preview Material
- Return type:
- get_previous_stage() DMMaterialStage ¶
Get Previous Stage
- Return type:
- get_source() DMMaterialStageSource ¶
Get Source
- Return type:
- get_source_type(channel) DMValueType ¶
Get Source Type
- Parameters:
channel (DMMaterialStageConnectorChannel) –
- Return type:
- property input_connection_map: None¶
[Read-Only] How our inputs connect to the inputs of this stage’s source
- Type:
- is_compatible_with_next_stage(next_stage) bool ¶
Is Compatible with Next Stage
- Parameters:
next_stage (DMMaterialStage) –
- Return type:
- is_compatible_with_previous_stage(previous_stage) bool ¶
Is Compatible with Previous Stage
- Parameters:
previous_stage (DMMaterialStage) –
- Return type:
- property preview_material_dynamic: MaterialInstanceDynamic¶
[Read-Only]
- Type:
- remove_input(input) None ¶
Remove Input
- Parameters:
input (DMMaterialStageInput) –
- set_can_change_source(can_change_source) None ¶
Set Can Change Source
- Parameters:
can_change_source (bool) –
- set_source(source) None ¶
Set Source
- Parameters:
source (DMMaterialStageSource) –
- property source: DMMaterialStageSource¶
[Read-Only]
- Type: