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

    Interface CircleOptions

    Configuration options for circle geometry.

    interface CircleOptions {
        radius?: number;
        segments?: number;
        thetaLength?: number;
        thetaStart?: number;
    }
    Index

    Properties

    radius?: number

    The radius of the circle. Defaults to 1.

    segments?: number

    The number of radial segments. Defaults to 32.

    thetaLength?: number

    The central angle of the circle segment in radians. Defaults to 2 * PI.

    thetaStart?: number

    The start angle of the circle segment in radians. Defaults to 0.