Skip to content

TilesetSourceOptions

Defined in: packages/declarative-hex-worlds/src/asset-source/tileset.ts:90

Options for a tileset source.

optional hex?: HexDims

Defined in: packages/declarative-hex-worlds/src/asset-source/tileset.ts:98

The rendered cell’s world-space footprint. Defaults to the board’s default hex footprint (DEFAULT_TILESET_HEX), which tessellates seamlessly with the default 'quad' render shape. Override for a non-standard board geometry.


manifest: object

Defined in: packages/declarative-hex-worlds/src/asset-source/tileset.ts:92

The validated tileset manifest to resolve against.

biomes: Record<string, { select: "first" | "hash"; sheet: string; }>

kind: "tileset"

schemaVersion: string

sheets: Record<string, { edgeCells?: Record<string, number>; grid: { cellHeight: number; cellWidth: number; cols: number; rows: number; }; role: "transition" | "fill"; url: string; variants?: number[]; }>


optional shape?: "hex" | "quad"

Defined in: packages/declarative-hex-worlds/src/asset-source/tileset.ts:104

How each cell is drawn (see AssetRenderRequest['shape']). Defaults to 'quad' — the seamless path for painterly hex atlases whose cells have transparent corners. Use 'hex' only for sheets whose cells are opaque edge-to-edge.