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

    Interface GroundOptions

    Configuration for the Ground geometry.

    interface GroundOptions {
        depth?: number;
        depthSegments?: number;
        width?: number;
        widthSegments?: number;
    }
    Index
    depth?: number

    Depth of the ground (along the Z axis). Defaults to 1.

    depthSegments?: number

    Number of segments along the depth. Defaults to 1.

    width?: number

    Width of the ground (along the X axis). Defaults to 1.

    widthSegments?: number

    Number of segments along the width. Defaults to 1.