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.

Hierarchy (view full)

Constructors

  • Create a new CylinderGeometry instance.

    Parameters

    • Optional opts: {
          latitudeBands: number;
          longitudeBands: number;
      } = {}

      An object that specifies optional inputs for the function as follows:

      • latitudeBands: number

        The number of divisions along the latitudinal axis of the sphere (defaults to 16).

      • longitudeBands: number

        The number of divisions along the longitudinal axis of the sphere (defaults to 16).

    Returns DomeGeometry

Properties

blendIndices: number[]

Blend indices.

blendWeights: number[]

Blend weights.

colors: number[]

Colors.

Methods