sphere
Generates a sphere mesh.
Return
The generated mesh.
Parameters
radius
The radius of the sphere.
rings
The number of rings of the sphere. Increasing the number of rings increases the number of vertical subdivisions, which improves the sphere's roundness.
slices
The number of slices of the sphere. Increasing the number of slices increases the number of horizontal subdivisions, which improves the sphere's roundness.