isoscelesTriangleSdf2d

isoscelesTriangleSdf2d

sdf2d
isoscelesTriangleSdf2d
RayTK
v0.36

Parameters

  • Direction:
    • Right (X+):
    • Left (X-):
    • Up (Y+):
    • Down (Y-):
  • Position Mode:
    • Base Centered:
    • Tip Centered:
  • Height: The distance from the base of an iscosceles triangle to the opposite tip.
  • Width: The width of the base of an isosceles triangle.

Inputs

  • 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