arcSdf2d
sdf2d
arcSdf2d
RayTK
v0.42
Radial arc, a segment of a circular path, with rounded ends.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Orientation | Angle of the center of the arc in degrees. | Runtime | Baked |
Aperture | Range of the arc in degrees. | Runtime | Baked |
Radius | Radius of the circle which the arc is taken from. | Runtime | Baked |
Thickness | Thickness of the arc. | Runtime | Baked |
Inputs
-
Orientation Field
: (optional) Field used to offset the orientation angle, in degrees.- Coordinate Types:
vec2
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Coordinate Types:
-
Aperture Field
: (optional) Field used to override the aperture angle, in degrees.- Coordinate Types:
vec2
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
orientationField
- Coordinate Types:
-
Radius Field
: (optional) Field used to multiply the circle radius.- Coordinate Types:
vec2
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables:
normangle
- Supports Variables From Inputs:
orientationField
- Coordinate Types:
-
Thickness Field
: (optional) Field used to multiply the thickness of the arc.- Coordinate Types:
vec2
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables:
normangle
- Supports Variables From Inputs:
orientationField
radiusField
- Coordinate Types:
Variables
-
Normalized Angle (0..1)
: