Documentation / Node reference / geo nodes
geo/SDFCapsule
Creates an SDF capsule.
Sdf Primitives
Creates a capsule as SDF geometry: a line segment thickened by a radius, with round caps. 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. For fields beyond the wrapper primitives, use geo/SDFBuilder and the code/SDF* library.
Parameters
| Name | Type | What it does |
|---|---|---|
| t | Vector3 | Capsule center: `a` and `b` are offsets from it. |
| a | Vector3 | First end of the segment, relative to the center. |
| b | Vector3 | Second end of the segment, relative to the center. |
| r | Float | Radius around the segment. |
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.