Engine API Reference
    Preparing search index...

    Class DomeGeometry

    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 Summary)

    Index

    Constructors

    • Create a new CylinderGeometry instance.

      Parameters

      • Optionalopts: { latitudeBands?: number; longitudeBands?: number } = {}

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

        • OptionallatitudeBands?: number

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

        • OptionallongitudeBands?: number

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

      Returns DomeGeometry

    Properties

    blendIndices: undefined | number[]

    Blend indices.

    blendWeights: undefined | number[]

    Blend weights.

    colors: undefined | number[]

    Colors.

    Methods

    • Generates normal information from the positions and triangle indices.

      Returns void

    • Generates tangent information from the positions, normals, texture coordinates and triangle indices.

      Returns void