Documentation
    Preparing search index...

    Interface SphereGeometryOptions

    Options of sphereGeometry.

    interface SphereGeometryOptions {
        heightSegments?: number;
        radius?: number;
        widthSegments?: number;
    }
    Index
    heightSegments?: number

    Parallels — segments from the south pole to the north pole. Defaults to 16. Must be a finite integer ≥ 2, since one ring would make a bicone.

    radius?: number

    Distance from the centre to the surface; defaults to 1.

    widthSegments?: number

    Meridians — segments around the +Y axis. Defaults to 32. Must be a finite integer ≥ 3, since fewer cannot enclose a volume.