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:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float
- Coordinate Types:
-
Angle Offset Field: (optional)- Coordinate Types:
vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables From Inputs:
angleWidthField
- Coordinate Types:
-
Radius Field: (optional)- Coordinate Types:
vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables:
anglenormangle - Supports Variables From Inputs:
angleWidthFieldangleOffsetField
- Coordinate Types:
-
Thickness Field: (optional)- Coordinate Types:
vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables:
anglenormangle - Supports Variables From Inputs:
angleWidthFieldangleOffsetFieldradiusField
- Coordinate Types:
Variables
-
Angle (0-360): -
Normalized Angle (0-1):