unreal.RigVMFunction_MathFloatRemap

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

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

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathFloat.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 (float): [Read-Write]

  • source_maximum (float): [Read-Write]

  • source_minimum (float): [Read-Write]

  • target_maximum (float): [Read-Write]

  • target_minimum (float): [Read-Write]

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

(float)

property source_maximum: float

[Read-Write]

Type:

(float)

property source_minimum: float

[Read-Write]

Type:

(float)

property target_maximum: float

[Read-Write]

Type:

(float)

property target_minimum: float

[Read-Write]

Type:

(float)

property value: float

[Read-Write]

Type:

(float)