Attribute Convert

../../../_images/modeling_geometry-nodes_attribute_attribute-convert_node.png

The Attribute Convert node.

This node reads one input attribute and converts the data type and domain to the result attribute. The data type conversion is determined by a set of built-in implicit conversion rules. These rules are also used when connecting sockets with different data types. Additional information can be found in the Node Socket section of the manual.

Ghi chú

The data conversion rules are not editable. When converting a vector to a float, the implicit rule may not be desired. In this case it is recommended to use Attribute Math nodes together with Attribute Combine and Attribute Separate nodes to achieve the desired result.

Đầu Vào (Inputs)

Hình Học (Geometry)

Đầu vào hình học tiêu chuẩn.

Thuộc Tính (Attribute)

Name of the attribute that is to be converted.

Kết Quả (Result)

Name of the attribute where the computed result it stored. If an attribute with this name does not exist yet, a new attribute is added. If it does exist, the values of the attribute are overridden.

Tính Chất (Properties)

Phạm vi (Domain)

This determines which domain is to be used to save the result attribute. Where the source attribute resides on a different domain, the data is interpolated.

Tự Động (Auto)

Chooses the domain based on the following rules.

  1. If the result attribute already exists, use that domain.

  2. If the result attribute doesn't exist, use the source attribute domain.

  3. Otherwise use the default domain (points).

Điểm/Chấm (Point)

Store the resulting attribute per point.

Edge (Cạnh)

Store the resulting attribute per edge.

Face (Bề Mặt)

Store the resulting attribute per face.

Góc Bề Mặt (Face Corner)

Store the resulting attribute per face corner

Kiểu dữ liệu (Data Type)

This determines the data type of the result attribute.

Đầu Ra (Output)

Hình Học (Geometry)

Đầu ra hình học tiêu chuẩn.