unreal.DMMaterialValueFloat

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

Bases: DMMaterialValue

DMMaterial Value Float

C++ Source:

  • Plugin: DynamicMaterial

  • Module: DynamicMaterial

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

  • local (bool): [Read-Only] True: The value is local to the stage it is used in. False: The value is a global value that can be used anywhere

  • parameter (DMMaterialParameter): [Read-Only] The parameter name used to expose this value in a material. If it isn’t provided, GetFName() will be used instead.

  • preview_material (Material): [Read-Only]

  • type (DMValueType): [Read-Only]

  • value_range (FloatInterval): [Read-Only]

get_value_range() FloatInterval

Get Value Range

Return type:

FloatInterval

has_value_range() bool

Has Value Range

Return type:

bool

set_value_range(value_range) None

Set Value Range

Parameters:

value_range (FloatInterval) –

property value_range: FloatInterval

[Read-Only]

Type:

(FloatInterval)