dogBoneSdf2d
sdf2d
dogBoneSdf2d
RayTK
v0.42
2D SDF for two connected circles.
Parameters
| Name | Description | Regular Handling | Read-Only Handling |
|---|---|---|---|
Translate | Moves the center of the shape. | Runtime | Baked |
Radius Multiplier | Radius of the circles. | Runtime | Baked |
Length | Spacing between the two circles. | Runtime | Baked |
Bulge | Negative values pull the connection tighter, positive values bulge out perpendicular to the main axis. | Runtime | Baked |
Axis | Semi-Baked | Semi-Baked | |
| |||
Point 1 | Runtime | Baked | |
Point 2 | Runtime | Baked | |
Radius | Runtime | Baked | |
Inputs
-
Point 1 Field: (optional)- Coordinate Types:
vec2 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
vec4
- Coordinate Types:
-
Point 2 Field: (optional)- Coordinate Types:
vec2 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
vec4 - Supports Variables From Inputs:
point1Field
- Coordinate Types:
-
Length Field: (optional)- Coordinate Types:
vec2 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float
- Coordinate Types:
-
Radius Field: (optional)- Coordinate Types:
vec2 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatvec4 - Supports Variables From Inputs:
point1Fieldpoint2FieldlengthField
- Coordinate Types:
-
Bulge Field: (optional)- Coordinate Types:
vec2 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables From Inputs:
point1Fieldpoint2FieldlengthFieldradiusField
- Coordinate Types: