hex-world
    Preparing search index...

    Interface ChunkEvent

    Payload for ChunkManagerEventMap.chunkLoaded and chunkUnloaded.

    interface ChunkEvent {
        cx: number;
        cy: number;
        bounds: ChunkBounds;
    }
    Index

    Properties

    Properties

    cx: number

    Chunk column index (cell column / chunkSize).

    cy: number

    Chunk row index (cell row / chunkSize).

    bounds: ChunkBounds

    The half-open cell range this chunk covers, clamped to the map.