cylinderSdf

cylinderSdf

Keywords:
  • column
  • cylinder
  • pipe

SDF for a cylinder.

Parameters

Name Description Regular Handling Read-Only Handling
Translate

Shifts the center of the cylinder.

Runtime Baked
Radius

The radius of the cylinder.

Runtime Baked
Height

The height of the cylinder, along the selected axis.

Runtime Baked
Axis Runtime Semi-Baked
  • X:
  • Y:
  • Z:
Infinite Height Runtime Semi-Baked
Hollow Runtime Semi-Baked
Thickness Runtime Baked

Inputs

  • Height Field: (optional) Optional field used to control the radius of the cylinder. If it uses 1D coordinates, it is given the position along the axis. For 3D coordinates, it is given the raw position.
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables: axispos normangle
  • Radius Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables: axispos normangle normoffset
    • Supports Variables From Inputs: heightField
  • Thickness Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables: axispos normangle normoffset
    • Supports Variables From Inputs: heightField radiusField

Variables

  • axispos:
  • normoffset:
  • normangle: