Skip to content

Interface: TileOverlayOptions ​

Configuration for a single overlay layer rendered on top of the hex mesh. All distances are in world units; all angles/fractions are normalised.

Properties ​

color ​

ts
color: number | Color;

Base overlay color.


opacity? ​

ts
optional opacity?: number;

Alpha applied to the material.


blending? ​

ts
optional blending?: Blending;

Optional blending override (defaults to normal).


kind ​

ts
kind: TileOverlayKind;

Layout variant (fill / border / with sides).


surfaceOffset ​

ts
surfaceOffset: number;

Radial offset added to the baseline surface offset of the body.


borderWidth? ​

ts
optional borderWidth?: number;

Border width as a fraction of tile avg radius (border kinds only).


ringExpand? ​

ts
optional ringExpand?: number;

Ring expand factor applied to fill kinds (0 = flush with boundary).


renderOrder? ​

ts
optional renderOrder?: number;

THREE renderOrder for the mesh.


initiallyVisible? ​

ts
optional initiallyVisible?: boolean;

Starts hidden; call setTiles to reveal.

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