crossSdf2d

crossSdf2d

2D cross shape SDF, with 4 arms and option rounding of the intersections.

Parameters

Name Description Regular Handling Read-Only Handling
Outer Size

The length of the arms.

Runtime Baked
Inner Size

Thickness of the arms.

Runtime Baked
Roundness

How much to round out the intersection corners.

Runtime Baked

Inputs

  • Outer Size Field: (optional)
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
  • Inner Size Field: (optional)
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables From Inputs: outerSizeField
  • Roundness Field: (optional)
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables From Inputs: outerSizeField innerSizeField