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

trapezoidSdf2d

Parameters

  • Mode:
    • Centered:
    • End Points:
  • Point 1:
  • Point 2:
  • Height:
  • Width:

Inputs

  • Point 1+2 Coords Field: (optional)
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: vec4
  • Height Field: (optional)
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • Width Field: (optional)
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4