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

    Interface LightClusterCoverage

    A single light's coverage range within the cluster grid, all bounds inclusive.

    interface LightClusterCoverage {
        cellMaxX: number;
        cellMaxY: number;
        cellMinX: number;
        cellMinY: number;
        sliceMax: number;
        sliceMin: number;
    }
    Index
    cellMaxX: number

    Last cell along the X axis this light can reach.

    cellMaxY: number

    Last cell along the Y axis this light can reach.

    cellMinX: number

    First cell along the X axis this light can reach.

    cellMinY: number

    First cell along the Y axis this light can reach.

    sliceMax: number

    Last depth slice this light can reach.

    sliceMin: number

    First depth slice this light can reach.