unreal.RigVMFunction_MathDoubleRemap

class unreal.RigVMFunction_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: RigVMFunction_MathDoubleBase

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

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathDouble.h

Editor Properties: (see get_editor_property/set_editor_property)

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

  • result (double): [Read-Write]

  • source_maximum (double): [Read-Write]

  • source_minimum (double): [Read-Write]

  • target_maximum (double): [Read-Write]

  • target_minimum (double): [Read-Write]

  • value (double): [Read-Write]

property clamp: bool

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

Type:

(bool)

property result: float

[Read-Only]

Type:

(double)

property source_maximum: float

[Read-Write]

Type:

(double)

property source_minimum: float

[Read-Write]

Type:

(double)

property target_maximum: float

[Read-Write]

Type:

(double)

property target_minimum: float

[Read-Write]

Type:

(double)

property value: float

[Read-Write]

Type:

(double)