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_MathDoubleBaseRemaps 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 rangeresult(double): [Read-Write] The resulting remapped valuesource_maximum(double): [Read-Write] The maximum of the range of the input / source valuesource_minimum(double): [Read-Write] The minimum of the range of the input / source valuetarget_maximum(double): [Read-Write] The maximum of the range of the output / target valuetarget_minimum(double): [Read-Write] The minimum of the range of the output / target valuevalue(double): [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:
(double)
- property source_minimum: float¶
[Read-Write] The minimum of the range of the input / source value
- Type:
(double)
- property target_maximum: float¶
[Read-Write] The maximum of the range of the output / target value
- Type:
(double)