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

    Interface ConeOptions

    Configuration options for cone geometry.

    interface ConeOptions {
        height?: number;
        heightSegments?: number;
        radialSegments?: number;
        radius?: number;
        thetaLength?: number;
        thetaStart?: number;
    }

    Hierarchy

    Index

    Properties

    height?: number

    The total height of the cylinder. Defaults to 2.

    heightSegments?: number

    The number of height segments along the vertical axis. Defaults to 1.

    radialSegments?: number

    The number of radial segments around the circumference. Defaults to 16.

    radius?: number

    The radius of the base of the cone. Defaults to 1.

    thetaLength?: number

    The central angle of the sector in radians. Defaults to 2 * PI (full cylinder).

    thetaStart?: number

    The start angle of the sector in radians. Defaults to 0.