Sample Index Node

Sample Index node.

The Sample Index node retrieves values from a source geometry at a specific index.

Tip

If the Geometry used for the input is the same as the geometry from the field context, this node is equivalent to the Evaluate at Index Node. 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 Separate Components(成分分離)ノード can be used to sample directly from a specific component.

入力

Geometry(ジオメトリ)

属性を取得するジオメトリ。

Value(値)

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

Index(インデックス)

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.

Properties(プロパティ)

Data Type(データタイプ)

The data type to use for the retrieved values.

Domain(ドメイン)

属性の転送元の 属性ドメイン 、つまり、 属性 入力の評価に使用されるドメイン。例えば、あるジオメトリの面から別のジオメトリのポイントにデータを転送することができます。

Clamp(範囲制限)

Clamp the indices to the size of the attribute domain instead of outputting a default value for invalid indices.

出力

Value(値)

The data retrieved from the source Geometry input.

../../../../_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.