Skip to content

Interface: SolBoardTiles

Sol-board specific tile primitives — height mutation, geometry context, pre-blend visual snapshot. Lives on top of the shared BoardTiles interface.

Extends

Properties

tiles

ts
tiles: readonly Tile[];

Tiles of this board (sol or atmo hexasphere).

Inherited from

BoardTiles.tiles


surfaceOffset

ts
surfaceOffset: number;

Baseline radial offset (body-relative) applied to the interactive surface.

Methods

writeTileColor()

ts
writeTileColor(tileId, rgb): void;

Writes a raw RGB value to every vertex of a tile.

Parameters

ParameterType
tileIdnumber
rgbRGB

Returns

void

Inherited from

BoardTiles.writeTileColor


applyOverlay()

ts
applyOverlay(colors): void;

Stamps per-tile RGB into the vertex buffer. Same effect as calling writeTileColor once per entry.

Parameters

ParameterType
colorsMap<number, RGB>

Returns

void

Inherited from

BoardTiles.applyOverlay


getTilePosition()

ts
getTilePosition(tileId): Vector3 | null;

World-space top-cap centre of a tile. Returns null for unknown ids. Used by overlay renderers that anchor markers on the board.

Parameters

ParameterType
tileIdnumber

Returns

Vector3 | null

Inherited from

BoardTiles.getTilePosition


tileGeometry()

ts
tileGeometry(tileId): TileGeometryInfo | null;

Resolves the geometry context for a tile (tile + terrain level).

Parameters

ParameterType
tileIdnumber

Returns

TileGeometryInfo | null


updateTileSolHeight()

ts
updateTileSolHeight(updates): void;

Mutates the sol height of the given tiles in place.

Parameters

ParameterType
updatesMap<number, number>

Returns

void


tileBaseVisual()

ts
tileBaseVisual(tileId): TileBaseVisual | null;

Resolves the pre-blend visual snapshot for a sol tile.

Parameters

ParameterType
tileIdnumber

Returns

TileBaseVisual | null

Distribué sous la licence indiquée dans le dépôt.