Sample Nearest Node
The Sample Nearest node retrieves the index of the geometry element in its input geometry that is closest to the input position. This node is similar to the Узел Geometry Proximity, but it outputs the index of the closest element instead of its distance from the current location.
Входы
- Geometry (геометрия)
The geometry to sample.
Примечание
This node only supports point cloud and mesh inputs.
- Sample Position
The position to start from when finding the closest location on the target geometry. By default, this is the same as if the Узел Position (положение) was connected.
Свойства
- Domain
The attribute domain to consider the distance from.
Выходы
- Index
The index of the closest geometry element of the chosen domain.