hex-world
    Preparing search index...

    Interface ChunkWorkerSetMapMessage

    Uploads (or replaces) the worker's map snapshot, layout, and build options.

    interface ChunkWorkerSetMapMessage {
        type: "setMap";
        width: number;
        height: number;
        cells: ArrayBuffer;
        roadBits: ArrayBuffer;
        riverInBits: ArrayBuffer;
        layout: HexLayout;
        options: ChunkWorkerGeometryOptions;
    }
    Index

    Properties

    type: "setMap"
    width: number
    height: number
    cells: ArrayBuffer

    Copies of the map's per-cell channels the terrain builder reads.

    roadBits: ArrayBuffer
    riverInBits: ArrayBuffer
    layout: HexLayout