trapezoidSdf2d

trapezoidSdf2d

Parameters

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

Inputs

  • Width Field: (optional)
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4
  • 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