radialSlice

radialSlice

Takes a pie-shaped slice of an SDF around an axis, either removing it or everything except it.

Parameters

Name Description Regular Handling Read-Only Handling
Enable
Axis

The axis around which to take the slice.

Runtime Semi-Baked
  • X:
  • Y:
  • Z:
Angle Mode

How to specify the angles of the slice.

  • Center & Width: Choose a center angle and a width.
  • Start & End: Choose the start and end angles.
Center Angle

Center angle of the slice in degrees.

Runtime Baked
Angle Width

Width of the slice in degrees.

Runtime Baked
Start Angle

Start angle in degrees.

Runtime Baked
End Angle

End angle in degrees.

Runtime Baked
Invert

Whether to remove just the slice, or remove everything except the slice.

Runtime Baked
Enable Smoothing

Whether to smooth the transition on each side of the slice down to a size of zero.

Runtime Semi-Baked
Smooth Radius

The amount of smoothing distance.

Runtime Baked

Inputs

  • SDF: (required)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: Sdf
  • Center Angle Field: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables From Inputs: inputOp1
  • Angle Width Field: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables From Inputs: inputOp1 centerField
  • Start Angle Field: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables From Inputs: inputOp1
  • End Angle Field: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables From Inputs: inputOp1 startField