Documentation / Node reference / code nodes

code/VolumeVoxel

Returns a volume's attribute at the voxel being written.

Volume

Reads one voxel of the volume on one of the builder's inputs, with no blending. The offsets read a neighbour, in whole voxels. Voxels are matched by index, not by position.

Parameters

Name Type What it does
inputIndex UInt8 Builder input holding the volume, 0 to 3.
name AttributeName Attribute to read.
geoType UInt8 FLOAT · INDEX · U32 · VECTOR2 · VECTOR3 · VECTOR4 · VECTOR2_64 · VECTOR3_64 · FLOAT64 · VECTOR2_U32 · VECTOR3_U32 · VECTOR4_U32 Type of the attribute.
offsetX SInt32 Voxels to step along X. Negative steps back.
offsetY SInt32 Voxels to step along Y. Negative steps back.
offsetZ SInt32 Voxels to step along Z. Negative steps back.
borderMode UInt8 CLAMP · TRANSPARENT · REPEAT · MIRROR What is read past the edge of the volume.

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.