Small World Engine API Reference - v0.78.00
    Preparing search index...

    Interface SphericalTriangleSectorOptions

    Configuration options for spherical triangle sector geometry (Kugeldreieck-Sektor).

    interface SphericalTriangleSectorOptions {
        angle?: number;
        heightSegments?: number;
        openEnded?: boolean;
        radius?: number;
        widthSegments?: number;
    }
    Index
    angle?: number

    Central angle (alpha) along the equator in radians. Defaults to π/2 (90 degrees).

    heightSegments?: number

    Number of height / polar subdivisions from north pole to equator. Defaults to 16.

    openEnded?: boolean

    Whether the planar bounding faces (side planes and equator base) are open. Defaults to false.

    radius?: number

    Radius of the sphere (r). Defaults to 1.

    widthSegments?: number

    Number of radial / azimuth subdivisions along the equator arc. Defaults to 32.