Cylinder 2 points

Cylinder 2 points icon

In: SDF function > Primitive

Description

An SDF function for a cylinder of adjustable radius defined by the positions of its start and end discs.

INFO
To learn more about concepts and workflows involving SDF functions, go to the dedicated page: Working with SDF functions

Inputs

Start Float3
The position of the cylinder’s start disc.

Default: (0, 0, 0)
End Float3
The position of the cylinder’s end disc.

Default: (0, 0, 1)
Radius Float
The radius of the cylinder.

Default: 0.25
P Float3
The transformed world space position. Use this input to apply additional transformations using the Offset P and Rotate P nodes.

Default: The untransformed world space position.
recommendation-more-help
substance-3d-designer-help-guide