Skip to content

createTilesetSource

createTilesetSource(options): AssetSource

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

Create a tileset AssetSource over a validated manifest. resolve maps a placement’s biome to a fill cell (by hash of tileKey, or the first variant); resolveEdge maps an edge mask to a transition cell via the sheet’s edgeCells. Both return undefined when the biome/sheet/mask isn’t in the manifest.

TilesetSourceOptions

AssetSource