Create a new SphereGeometry instance.
By default, the constructor creates a sphere centered on the object space origin with a radius of 0.5 and 16 segments in both longitude and latitude. The sphere is created with UVs in the range of 0 to 1.
Optional
opts: {Options object.
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.
Typically, you would: