solidAngleSdf

solidAngleSdf

Keywords:
  • cone
  • pie
  • slice
  • wedge
sdf
solidAngleSdf
RayTK
v0.42

A conical slice of a sphere.

Similar to coneSdf but with the base rounded.

Parameters

Name Description Regular Handling Read-Only Handling
Translate

Moves the tip of the shape.

Runtime Baked
Angle

The angle width of the slice.

Runtime Baked
Radius

The radius of the sphere that the shape is based one, equivalent to the distance from the tip to the base.

Runtime Baked

Inputs

  • Radius Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
  • Angle Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables From Inputs: radiusField