Clamp Operator
钳位操作员
Basic 基础Node 节点Parameter 参数Clamp Operator
钳位操作员

This node clamps the input to a range of values and outputs the result. Input values that are within the range are passed directly through to the output. Input values outside the range are clamped to the lower limit or upper limit of the range, whichever limit is nearer. For example, suppose you have defined a range from 5 to 12. Input values of 1, 8 and 15 will result in output values of 5, 8 and 12 respectively.
此节点将输入夹持到一定范围的值并输出结果。范围内的输入值直接传递到输出。范围之外的输入值将被装入范围的下限或上限,以较接近的限制为准。例如,假设您已经定义了一个从5到12的范围。输入值1、8和15将导致输出值分别为5、8和12。
The Clamp node has many uses. For example, you might use the node to restrict an object’s movement to a particular volume of 3D space or period of time. Choose the node’s data type in the Attribute Manager..
箝位节点有许多用途。例如,可以使用节点将对象的移动限制在特定的3D 空间或时间段内。在属性管理器中选择节点的数据类型。.