Skip to main content

Store Attribute

Overview

Stores a value as an attribute on the incoming mesh.


Inputs

NameTypeDescription
InputMeshDataIncoming mesh data.

Value Inputs

Only one value input is visible and active at a time, based on the selected Type parameter.

NameTypeDescription
Int ValueintAttribute value when Type is set to Int.
Float ValuefloatAttribute value when Type is set to Float.
Vector2 ValueVector2Attribute value when Type is set to Vector2.
Vector3 ValueVector3Attribute value when Type is set to Vector3.
Bool ValueboolAttribute value when Type is set to Bool.

Outputs

NameTypeDescription
OutputMeshDataMesh data with the stored attribute applied.

Parameters

NameTypeDefaultDescription
TypeVariableTypeVariableType.IntType of the attribute to store. Controls which value input is exposed.
DomainAttributeDomainAttributeDomain.VertexDomain where the attribute will be stored.
Attribute Namestring""Name of the attribute to store.

Behavior Notes

  • Only the value input corresponding to the selected Type is visible and used.
  • If an attribute with the same name already exists in the selected domain, it will rename the new attribute.
  • Attribute values are stored per element based on the selected domain.