cylinderSdf

cylinderSdf

Keywords:
  • column
  • cylinder
  • pipe

Cylinder, either solid or a hollow tube.

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

Whether to extend infinitely along the chosen axis or have a limited height.

Runtime Semi-Baked
Hollow

Whether to make the cylinder a hollow tube instead of a solid cylinder.

Runtime Semi-Baked
Thickness

Thickness of the walls of the tube when using hollow mode.

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: