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.
Optionalopts: {Options object.
OptionalcalculateTangents?: booleanGenerate tangent information. Defaults to false.
OptionallatitudeBands?: numberThe number of divisions along the latitudinal axis of the sphere. Defaults to 16.
OptionallongitudeBands?: numberThe number of divisions along the longitudinal axis of the sphere. Defaults to 16.
Optionalradius?: numberThe radius of the sphere. Defaults to 0.5.
A procedural sphere-shaped geometry.
Typically, you would: