Documentation / Node reference / geo nodes
geo/SDFHexPrism
Creates an SDF hexagonal prism.
Sdf Primitives
Creates a hexagonal prism as SDF geometry: a regular hexagon in the XY plane, its vertices along X and its flat sides facing Y, extruded along Z. It draws the same solid as a geo/SDFHexagon2D through geo/SDFExtrude, and costs one expression per sample instead of a wrapped walk. Wire it to the geo/Output node to see it raymarched, or compose it with other SDF objects through geo/SDFBoolean, geo/SDFRepeat and geo/Transform. Dragging the params never recompiles the preview shader.
Parameters
| Name | Type | What it does |
|---|---|---|
| t | Vector3 | Prism center. |
| radius | Float | Distance from the center to a vertex. The flat sides sit closer, at sqrt(3)/2 of it, which is what geo/SDFHexagon2D calls its radius. |
| height | Float | Full depth along Z: the prism spans half of it each side of the center. |
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.