unreal.RigUnit_MathFloatRemap

class unreal.RigUnit_MathFloatRemap(value: float = 0.0, source_minimum: float = 0.0, source_maximum: float = 0.0, target_minimum: float = 0.0, target_maximum: float = 0.0, clamp: bool = False, result: float = 0.0)

Bases: RigUnit_MathFloatBase

Remaps the given value from a source range to a target range.

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_MathFloat.h

Editor Properties: (see get_editor_property/set_editor_property)

  • clamp (bool): [Read-Write] Clamp: If set to true the result is clamped to the target range

  • result (float): [Read-Write] Result

  • source_maximum (float): [Read-Write] Source Maximum

  • source_minimum (float): [Read-Write] Source Minimum

  • target_maximum (float): [Read-Write] Target Maximum

  • target_minimum (float): [Read-Write] Target Minimum

  • value (float): [Read-Write] Value

property clamp: bool

[Read-Write] Clamp: If set to true the result is clamped to the target range

Type:

(bool)

property result: float

[Read-Only] Result

Type:

(float)

property source_maximum: float

[Read-Write] Source Maximum

Type:

(float)

property source_minimum: float

[Read-Write] Source Minimum

Type:

(float)

property target_maximum: float

[Read-Write] Target Maximum

Type:

(float)

property target_minimum: float

[Read-Write] Target Minimum

Type:

(float)

property value: float

[Read-Write] Value

Type:

(float)