Attribute Proximity

../../../_images/modeling_geometry-nodes_attribute_attribute-proximity_node.png

The Attribute Proximity node.

For each point in the input geometry, this node finds the closest position on the target. Both the positions and the distances to them can be stored in attributes.

Входы

Geometry (геометрия)

Стандартный вход геометрии.

Target

Стандартный вход геометрии.

Distance (расстояние)

The name of the float attribute where the computed distance is stored. A new attribute with that name is added if it does not exist yet. If it does exist, the values of the existing attribute are overridden.

Position (положение)

The name of the attribute where the computed location is stored. A new attribute with that name is added if it does not exist yet. If it does exist, the values of the existing attribute are overridden.

Свойства

Target Geometry
Faces (грани)

Calculate the closest point anywhere on the faces of the target geometry’s mesh.

Edges (рёбра)

Calculate the closest point anywhere on the edges of the target geometry’s mesh.

Points

Calculate the closest point or vertex on the target geometry. This mode is usually the fastest.

Output (выход)

Geometry (геометрия)

Стандартный выход геометрии.

Примеры

The different modes of the node: faces, edges and points. In this example the geometry nodes modifier is added on the plane. Note that the plane is subdivided and the cube is not.

../../../_images/modeling_geometry-nodes_attribute_attribute-proximity_faces.png

Target Geometry mode: faces.

../../../_images/modeling_geometry-nodes_attribute_attribute-proximity_edges.png

Target Geometry mode: edges.

../../../_images/modeling_geometry-nodes_attribute_attribute-proximity_points.png

Target Geometry mode: points.

Be sure to set the mode to points when the target is a point cloud.

../../../_images/modeling_geometry-nodes_attribute_attribute-proximity_pointcloud-target.png

Attribute Proximity node with a point cloud as target.