TilesetSourceOptions
Defined in: packages/declarative-hex-worlds/src/asset-source/tileset.ts:90
Options for a tileset source.
Properties
Section titled “Properties”
optionalhex?: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
Section titled “manifest”manifest:
object
Defined in: packages/declarative-hex-worlds/src/asset-source/tileset.ts:92
The validated tileset manifest to resolve against.
biomes
Section titled “biomes”biomes:
Record<string, {select:"first"|"hash";sheet:string; }>
kind:
"tileset"
schemaVersion
Section titled “schemaVersion”schemaVersion:
string
sheets
Section titled “sheets”sheets:
Record<string, {edgeCells?:Record<string,number>;grid: {cellHeight:number;cellWidth:number;cols:number;rows:number; };role:"transition"|"fill";url:string;variants?:number[]; }>
shape?
Section titled “shape?”
optionalshape?:"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.