Documentation / Node reference / code nodes

code/SDFSample

Reads a field wired into the geo/SDFBuilder, at any position.

Sdf3d

Reads the field on one of the builder's inputs. Read it at the sample position and add to it to displace the surface. Read it at a moved position to warp the shape. Combine it with a shape to blend. Several SDF objects on one input read as their union.

Parameters

Name Type What it does
P Vector3 Where to read the field. Defaults to the sample position.
inputIndex UInt8 Which builder input to read, 0 to 3.

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.