code/VolumeSample geo/PointBuilder geo/VolumeCreate
Documentation / Node reference / code nodes
code/VolumeSample
Returns a volume's attribute at a position, blended between voxels.
Volume
Reads an attribute of the volume on one of the builder's inputs, blended between voxels. Outside the volume it reads the edge voxels. An input with no volume reads 0.
Parameters
| Name | Type | What it does |
|---|---|---|
| P | Vector3 | Position to sample at. Unwired, it uses the current position. |
| 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. |
Examples
Scenes you can open in the editor that teach this node.
code/VolumeSample geo/FileCSV geo/AttributeTransfer geo/SDFBuilder code/SDFTPMS
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.