unreal.DMMaterialValueDynamic

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

Bases: DMMaterialComponentDynamic

A value used inside an instanced material instance. Links to the original value in the parent material.

C++ Source:

  • Plugin: DynamicMaterial

  • Module: DynamicMaterial

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

  • parent_component_name (Name): [Read-Only]

apply_default_value() None

Apply Default Value

copy_parameters_from(other) None

Copies the parameter-based value of the given value to this value, if possible.

Parameters:

other (Object)

get_parent_value() DMMaterialValue

Resolves (if necessary) and returns the value this dynamic value is based on.

Return type:

DMMaterialValue

is_default_value() bool

Returns true if this value dynamic’s value is the same as the parent value’s value.

Return type:

bool