trapezoidSdf2d

trapezoidSdf2d

Parameters

Name Description Regular Handling Read-Only Handling
Mode Semi-Baked Semi-Baked
  • Centered:
  • End Points:
Point 1 Runtime Baked
Point 2 Runtime Baked
Height Runtime Baked
Width Runtime Baked

Inputs

  • Width Field: (optional)
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4
  • Point 1+2 Coords Field: (optional)
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: vec4
    • Supports Variables From Inputs: widthField
  • Height Field: (optional)
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables From Inputs: widthField