Transfer Attribute Node

Transfer Attribute node.

The Transfer Attribute node retrieves values from a source geometry and provides them as a field, so they can be used anywhere.

输入

要检索属性的几何图形。

Note

This node only supports instances in the source geometry when the Mapping method is set to Index.

属性

用于与传输方法一起使用的 几何体上的求值字段。

源位置

The position to start from when finding the closest location on the source mesh or point cloud. Used in the Nearest Face Interpolated and Nearest modes. By default, this is the same as if the 位置节点 was connected.

编号

Which index to use when retrieving the data from the input field in Index mode. By default, the index is used, meaning that the data from the source attribute is copied directly to the output. However, a different index can be connected, resulting in a "shuffling" of the values. Indices that are either too large or below 0 are clamped.

Tip

To retrieve a single attribute value instead of a field, a single integer input or the 整数 can be connected to this socket.

属性

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

映射

How elements from the destination geometry are mapped to the output.

编号

Copy the attribute data from the value at the input index. In this mode, the source geometry can consist of a mesh, point cloud, or curve. The matching component type from the context will be chosen if possible, otherwise a component will be chosen in that order.

最近的面插值

Transfer the attribute from the nearest point from anywhere on the surface. Non-face attributes are interpolated across the surface (edge attributes are not supported yet). Loose points and edges are ignored.

最近

Transfer the attribute from the nearest element (with a domain chosen by the Domain input). No interpolation is done.

输出

属性

The data retrieved from the Source geometry, mapped based on the node's settings and inputs.

示例

../../../_images/modeling_geometry-nodes_attribute_transfer-attribute_example.png

Transferring the position of vertices from a different object's geometry, assuming that they have the same number of points.