cone
Generates a cone mesh.
Return
The generated mesh.
Parameters
radius
The radius of the cone base.
height
The height of the cone.
slices
The number of slices of the cone. Increasing the number of slices increases the number of subdivisions around the main axis, which improves the cone's roundness. Default is 16.