chamferRectangleSdf2d

chamferRectangleSdf2d

sdf2d
chamferRectangleSdf2d
RayTK
v0.40

Parameters

Name Description Regular Handling Read-Only Handling
Scale

The size of the rectangle on the x and y axes.

Runtime Baked
Chamfer Runtime Baked

Inputs

  • Scale Field: (optional)
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4
  • Chamfer Field: (optional)
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4
    • Supports Variables From Inputs: scaleField