属性钳制

../../../_images/modeling_geometry-nodes_attribute_attribute-clamp_node.png

The Attribute Clamp node.

This node inputs one attribute and clamps the values and writes these to the result attribute.

输入

几何数据(Geometry)

Standard geometry input.

属性

Name of the attribute that is to be clamped.

结果

Name of the attribute where the computed result it stored. If an attribute with this name does not exist yet, a new attribute is added. If it does exist, the values of the attribute are overridden.

最小值

Minimum value. This socket changes according to data type selected.

最大值

Maximum value. This socket changes according to data type selected.

属性

数据类型

This determines the data type of the result attribute. This also changes the Min and Max inputs to match the data type.

操作

This determines how the data is clamped.

  • 最小/最大

    Constrain value between min and max.

    范围

    Constrain value between min and max, swapping inputs when min is greater than max.

输出

几何数据(Geometry)

Standard geometry output.