unreal.DMMaterialProperty

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

Bases: DMMaterialComponent

Base Color, Specular, Opacity, etc

C++ Source:

  • Plugin: DynamicMaterial

  • Module: DynamicMaterialEditor

  • File: DMMaterialProperty.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]

  • input_connection_map (DMMaterialStageConnection): [Read-Only]

  • input_connector_type (DMValueType): [Read-Only]

  • material_property (DMMaterialPropertyType): [Read-Only]

  • output_processor (MaterialFunctionInterface): [Read-Only]

get_description() Text

Get Description

Return type:

Text

get_input_connection_map() DMMaterialStageConnection

Get Input Connection Map

Return type:

DMMaterialStageConnection

get_input_connector_type() DMValueType

Get Input Connector Type

Return type:

DMValueType

get_material_model_editor_only_data() DynamicMaterialModelEditorOnlyData

Get Material Model Editor Only Data

Return type:

DynamicMaterialModelEditorOnlyData

get_material_property() DMMaterialPropertyType

Get Material Property

Return type:

DMMaterialPropertyType

get_output_processor() MaterialFunctionInterface

Get Output Processor

Return type:

MaterialFunctionInterface

property input_connection_map: DMMaterialStageConnection

[Read-Only]

Type:

(DMMaterialStageConnection)

property input_connector_type: DMValueType

[Read-Only]

Type:

(DMValueType)

property material_property: DMMaterialPropertyType

[Read-Only]

Type:

(DMMaterialPropertyType)

property output_processor: MaterialFunctionInterface

[Read-Only]

Type:

(MaterialFunctionInterface)

reset_input_connection_map() None

Reset Input Connection Map

set_output_processor(function) None

Set Output Processor

Parameters:

function (MaterialFunctionInterface) –