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

    Interface PyramidOptions

    Configuration options for pyramid geometry.

    interface PyramidOptions {
        base?: number;
        height?: number;
        radialSegments?: number;
    }
    Index

    Properties

    base?: number

    The size of the square base. Defaults to 1.

    height?: number

    The total height of the pyramid. Defaults to 1.

    radialSegments?: number

    The number of radial segments (faces). Defaults to 4 for a square pyramid.