采样编号

采样编号节点。

采样编号 节点在源几何体的特定编号上检索数值。

Tip

If the Geometry used for the input is the same as the geometry from the field context, this node is equivalent to the 在编号处评估. Using that node is usually preferable since avoiding the geometry socket makes the whole setup easier to use in other situations and share.

Tip

Different components can have same attribute domain (Points). This node simply uses first component that not empty for such domain, checked in the order of: Mesh, Point Cloud, Curve. The 分离元素 can be used to sample directly from a specific component.

输入

几何数据

要检索属性的几何图形。

数值

A field to evaluate on the source Geometry. The values are then retrieved from specific indices for the output.

编号

Which index to use when retrieving the data from the input Value field. Any index can be connected, resulting in a “shuffling” of the values.

属性

数据类型

被检索数据的 数据类型

传输属性的 属性域,换句话说,用于评估 属性 输入的域。例如,可以将数据从一个几何体的面传输到另一个几何体的点。

钳制

钳制编号为属性域的大小,而非输出可能无效的默认值。

输出

数值

从输入端源几何体检索出的数据。

示例

../../../../_images/modeling_geometry-nodes_sample_index-example.png

Here the node is used to copy the positions of one object to another. This recreates the behavior of the Transfer Attribute node from Blender versions before 3.4. This works best when their geometries have the same number of points and the same Topology.