isoscelesTriangleSdf2d

isoscelesTriangleSdf2d

sdf2d
isoscelesTriangleSdf2d
RayTK
v0.40

Parameters

Name Description Regular Handling Read-Only Handling
Direction Runtime Baked
  • Right (X+):
  • Left (X-):
  • Up (Y+):
  • Down (Y-):
Position Mode Runtime Baked
  • Base Centered:
  • Tip Centered:
Height

The distance from the base of an iscosceles triangle to the opposite tip.

Runtime Baked
Width

The width of the base of an isosceles triangle.

Runtime Baked

Inputs

  • Height Field: (optional)
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
  • Width Field: (optional)
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables From Inputs: heightField