Documentation / Node reference / geo nodes

geo/AttributeCreate

Creates an attribute, or sets the value of an existing one.

Attributes

Writes one value onto each point, edge, primitive or object, or once onto the whole input. The value can be an expression evaluated for each entity, such as attrib(.P) * 2. An attribute that already exists keeps its precision.

Parameters

Name Type What it does
group String Part of the input to write. Empty writes everything.
entity UInt8 POINT · EDGE · PRIMITIVE · OBJECT · STAGE What carries the attribute.
name AttributeName Attribute to write. Writing P moves the points.
geoType UInt8 FLOAT · INDEX · U32 · VECTOR2 · VECTOR3 · VECTOR4 · VECTOR2_64 · VECTOR3_64 · FLOAT64 · VECTOR2_U32 · VECTOR3_U32 · VECTOR4_U32 Type of a point, edge or primitive attribute.
precision UInt8 FLOAT32 · FLOAT64 Precision of a point, edge or primitive attribute.
objectType UInt8 BASE_NODE_HANDLE · BOOL · COLOR · COLOR4 · FLOAT · FLOAT64 · MATERIAL_HANDLE · NETWORK_PANEL_SCENE_OBJECT_CONFIG · S8 · S32 · STRING · U8 · U32 · VECTOR2 · VECTOR2_64 · VECTOR2UINT · VECTOR3 · VECTOR3_64 · VECTOR3UINT · VECTOR4 Type of an object or stage attribute.
setValue Bool Off creates the attribute without changing its values.
value_Bool Bool Value to write: a number or an expression.
value_Color Color Value to write: a number or an expression.
value_Color4 Color4 Value to write: a number or an expression.
value_Float Float Value to write: a number or an expression.
value_SInt8 SInt8 Value to write: a number or an expression.
value_SInt32 SInt32 Value to write: a number or an expression.
value_UInt8 UInt8 Value to write: a number or an expression.
value_UInt32 UInt32 Value to write: a number or an expression.
value_Vector2 Vector2 Value to write: a number or an expression.
value_Vector2UInt Vector2UInt Value to write: a number or an expression.
value_Vector3 Vector3 Value to write: a number or an expression.
value_Vector3UInt Vector3UInt Value to write: a number or an expression.
value_Vector4 Vector4 Value to write: a number or an expression.
value_Vector4UInt Vector4UInt Value to write: a number or an expression.
value_Float64 Float64 Value to write, kept in float64.
value_Vector2_64 Vector2_64 Value to write, kept in float64.
value_Vector3_64 Vector3_64 Value to write, kept in float64.
value_String String Text to write.
instanced UInt8 AUTO · TRUE · FALSE Whether a point attribute is read per instance.

Examples

Scenes you can open in the editor that teach this node.

See also

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.