unreal.DMMaterialStageThroughput

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

Bases: DMMaterialStageSource

A node which take one or more inputs and produces an output (e.g. Multiply)

C++ Source:

  • Plugin: DynamicMaterial

  • Module: DynamicMaterialEditor

  • File: DMMaterialStageThroughput.h

Editor Properties: (see get_editor_property/set_editor_property)

  • allow_nested_inputs (bool): [Read-Only]

  • component_dirty (bool): [Read-Only]

  • component_state (DMComponentLifetimeState): [Read-Only]

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

  • input_connectors (Array[DMMaterialStageConnector]): [Read-Only]

  • input_required (bool): [Read-Only]

  • name (Text): [Read-Only]

  • output_connectors (Array[DMMaterialStageConnector]): [Read-Only]

property allow_nested_inputs: bool

[Read-Only]

Type:

(bool)

allows_nested_inputs() bool

Returns true if this node’s inputs can have their own inputs.

Return type:

bool

can_input_accept_type(throughput_input_index, value_type) bool

Can Input Accept Type

Parameters:
  • throughput_input_index (int32)

  • value_type (DMValueType)

Return type:

bool

can_input_connect_to(throughput_input_index, output_connector, output_channel, check_single_float=False) bool

Whether the given output connector can connect to this node.

Parameters:
  • throughput_input_index (int32)

  • output_connector (DMMaterialStageConnector)

  • output_channel (int32)

  • check_single_float (bool) – If the initial compatibility check fails, it will again check against a single float.

Return type:

bool

get_description() Text

Get Description

Return type:

Text

get_input_connectors() Array[DMMaterialStageConnector]

Get Input Connectors

Return type:

Array[DMMaterialStageConnector]

property input_connectors: None

[Read-Only]

Type:

(Array[DMMaterialStageConnector])

property input_required: bool

[Read-Only]

Type:

(bool)

is_input_required() bool

Returns true if input is required to successfully compile this node.

Return type:

bool

property name: Text

[Read-Only]

Type:

(Text)