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

linkSdf

Keywords:
  • chain
  • link

SDF for a chain link shape (an elongated loop).

Parameters

  • Translate: Moves the center of the shape.
  • Length: The length of the chain link.
  • Radius: The radius or width of the chain shape as a whole.
  • Thickness: The thickness of the link.

Inputs

  • Height field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • 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