
coneSdf
Defines a cone or capped cone shape.
Parameters
-
:
-
Shape
: Choose between a regular cone and a capped cone without a tip.-
Cone
: -
Capped Cone
:
-
-
Translate
: Move the center of the shape. -
Height
: The height of the cone. -
Radius
: The radius of the base of the cone. -
Radius 2
: The radius of the top of the cone, if using a capped cone. -
Axis
:-
X
: -
Y
: -
Z
:
-
Inputs
-
Height 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
- Return Types:
float
- Coordinate Types:
-
Radius 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
- Return Types:
float
- Coordinate Types: