RangeMapper Operator

遥控操作员

Basic 基础Node 节点Parameter 参数

RangeMapper Operator

遥控操作员

This node remaps a value from one range to another. For example, suppose the height of an object should control a light’s brightness using a set driven key. When the object is at 0 m, the light’s brightness should be 0%. When the object is at 2 m, the brightness should be 100%. Using the Range Mapper node, the object’s height can be remapped from the range 0 to 2 m to the range 0 to 100%. In this case, a height of, say, 1.5 m would be remapped to 75%.

此节点将值从一个范围重新映射到另一个范围。例如,假设一个物体的高度应该控制光的亮度使用一个设置驱动的关键。当物体在0米时,光的亮度应该是0% 。当物体在2米处时,亮度应该是100% 。使用范围映射器节点,对象的高度可以从0到2米范围重新映射到0到100% 范围。在这种情况下,1.5米的高度将被重新设定为75% 。

The node has four inputs that define the input range and the output range: Input Lower and Input Upper define the input range; Output Lower and Output Upper define the output range. The Input port defines the value that should be remapped. In addition, several options control input values that are out of range.

该节点有四个输入来定义输入范围和输出范围: 输入较低和输入较高定义输入范围; 输出较低和输出较高定义输出范围。Input 端口定义应重新映射的值。此外,有几个选项控制超出范围的输入值。