Skip to main content Link Menu Expand (external link) Document Search Copy Copied
discSdf

discSdf

A flat disc facing the Y axis.

Because the disc is infinitely thin, it will only appear as a line when viewed from the side.

Parameters

  • Translate: Shifts the center of the disc.
  • Radius: The radius of the disc.
  • Axis:
    • X:
    • Y:
    • Z:
  • Thickness:

Inputs

  • Radius Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • Thickness Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float

Variables

  • angle:
  • normangle:
  • normaxisdist: