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_MathFloatBaseRemaps 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 rangeresult(float): [Read-Write] The resulting remapped valuesource_maximum(float): [Read-Write] The maximum of the range of the input / source valuesource_minimum(float): [Read-Write] The minimum of the range of the input / source valuetarget_maximum(float): [Read-Write] The maximum of the range of the output / target valuetarget_minimum(float): [Read-Write] The minimum of the range of the output / target valuevalue(float): [Read-Write] The input value to remap
- property clamp: bool¶
[Read-Write] If set to true the result is clamped to the target range
- Type:
(bool)
- property source_maximum: float¶
[Read-Write] The maximum of the range of the input / source value
- Type:
(float)
- property source_minimum: float¶
[Read-Write] The minimum of the range of the input / source value
- Type:
(float)
- property target_maximum: float¶
[Read-Write] The maximum of the range of the output / target value
- Type:
(float)