Create a new SphereGeometry instance.
Optional
opts: {An object that specifies optional inputs for the function as follows:
Optional
calculateTangents?: booleanGenerate tangent information (defaults to false).
Optional
latitudeBands?: numberThe number of divisions along the latitudinal axis of the sphere (defaults to 16).
Optional
longitudeBands?: numberThe number of divisions along the longitudinal axis of the sphere (defaults to 16).
Optional
radius?: numberThe radius of the sphere (defaults to 0.5).
A procedural sphere-shaped geometry.
The size and tesselation properties of the sphere can be controlled via constructor parameters. By default, the function will create a sphere centered on the object space origin with a radius of 0.5 and 16 segments in both longitude and latitude.
Note that the sphere is created with UVs in the range of 0 to 1.