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 rangeresult
(float): [Read-Write] Resultsource_maximum
(float): [Read-Write] Source Maximumsource_minimum
(float): [Read-Write] Source Minimumtarget_maximum
(float): [Read-Write] Target Maximumtarget_minimum
(float): [Read-Write] Target Minimumvalue
(float): [Read-Write] Value