A procedural dome-shaped geometry.
The size and tesselation properties of the dome can be controlled via constructor parameters. Radius is fixed to 0.5.
Note that the dome is created with UVs in the range of 0 to 1.
new DomeGeometry(opts?: {
latitudeBands: number;
longitudeBands: number;
}): DomeGeometry
Create a new CylinderGeometry instance.
An object that specifies optional inputs for the function as follows:
number
The number of divisions along the latitudinal axis of the sphere (defaults to 16).
number
The number of divisions along the longitudinal axis of the sphere (defaults to 16).
blendIndices: undefined | number[];
Blend indices.
blendWeights: undefined | number[];
Blend weights.
colors: undefined | number[];
Colors.
calculateNormals(): void
Generates normal information from the positions and triangle indices.
void
SphereGeometry.calculateNormals
calculateTangents(): void
Generates tangent information from the positions, normals, texture coordinates and triangle indices.
void