unreal.RigUnit_MathDoubleRemap

class unreal.RigUnit_MathDoubleRemap(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_MathDoubleBase

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

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_MathDouble.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 (double): [Read-Write] Result

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

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

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

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

  • value (double): [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:

(double)

property source_maximum: float

[Read-Write] Source Maximum

Type:

(double)

property source_minimum: float

[Read-Write] Source Minimum

Type:

(double)

property target_maximum: float

[Read-Write] Target Maximum

Type:

(double)

property target_minimum: float

[Read-Write] Target Minimum

Type:

(double)

property value: float

[Read-Write] Value

Type:

(double)