coneSdf
sdf
coneSdf
RayTK
v0.42
Defines a cone or capped cone shape.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Enable | |||
Shape | Choose between a regular cone and a capped cone without a tip. | Runtime | Semi-Baked |
| |||
Base Position | Move the center of the shape. | Runtime | Baked |
Height | The height of the cone. | Runtime | Baked |
Radius | The radius of the base of the cone. | Runtime | Baked |
Top Radius | The radius of the top of the cone, if using a capped cone. | ||
Axis | Runtime | Semi-Baked | |
| |||
Mode | Baked | Baked | |
| |||
Top Position | Runtime | Baked |
Inputs
-
Base Position Field
: (optional) Value field that can be used to vary the height of the cone.- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
vec4
- Coordinate Types:
-
Height Field
: (optional) Value field that can be used to vary the radius (both base and top) of the cone.- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
baseField
- Coordinate Types:
-
Top Position Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
vec4
- Supports Variables From Inputs:
baseField
- Coordinate Types:
-
Radius Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
baseField
heightField
topField
- Coordinate Types:
Variables
-
Position Along Axis
: -
Normalized Axis Position (0..1)
: -
Normalized Angle (0..1)
: