Field at Index Node

Field at Index Node.

The Field at Index node allows accessing data of other elements in the context geometry. It is similar to the Sample Index Node. The main difference is that this node does not require a geometry input, because the geometry from the field context is used.

This node is also similar to the Interpolate Domain Node node, except that the value to retrieve from the specified domain is specified by an index rather than an automatic domain interpolation.

Inputs

Index

The index of the element in the selected domain to retrieve data from, i.e. "the fourth face", or "the first control point".

Value

The field to retrieve data from.

Properti

Domain

The attribute domain used for for evaluation of the Value input. This is useful because it can be a different domain than the domain from the field context, i.e. to choose a vertex for each face.

Output

Value

The value of the input field at the given index.