torusSdf
Keywords:
- donut
- ring
- torus
sdf
torusSdf
RayTK
v0.42
SDF for a torus.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Axis | Semi-Baked | Semi-Baked | |
| |||
Radius | Runtime | Baked | |
Thickness | Runtime | Baked | |
Translate | Runtime | Baked | |
Enable Caps | Semi-Baked | Semi-Baked | |
Angle Width | Runtime | Baked | |
Angle Offset | Runtime | Baked | |
UV Mode | Semi-Baked | Semi-Baked | |
|
Inputs
-
Angle Width Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Coordinate Types:
-
Angle Offset Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
angleWidthField
- Coordinate Types:
-
Radius Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables:
angle
normangle
- Supports Variables From Inputs:
angleWidthField
angleOffsetField
- Coordinate Types:
-
Thickness Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables:
angle
normangle
- Supports Variables From Inputs:
angleWidthField
angleOffsetField
radiusField
- Coordinate Types:
Variables
-
Angle (0-360)
: -
Normalized Angle (0-1)
: