Documentation / Node reference / code nodes

code/Buffer

Reads or writes the buffer on one input of the builder.

Attributes

Unwired, it reads the element being visited. Wire its value input to write it instead. With overrideEntityIndex on, it reads another element, at an index. Its buffer output gives the whole buffer to a node that reads it itself.

Parameters

Name Type What it does
inputIndex UInt8 Builder input to read, 0 to 3.
geoType UInt8 FLOAT · INDEX · U32 · VECTOR2 · VECTOR3 · VECTOR4 · VECTOR2_64 · VECTOR3_64 · FLOAT64 · VECTOR2_U32 · VECTOR3_U32 · VECTOR4_U32 Type of one element.
overrideEntityIndex Bool Read another element than the visited one.
entityIndex UInt32 Index of the element to read.

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.