Skip to content

ExplorerGridTileModule

Defined in: options.ts:12

A grid pattern a host draws itself: one repeating tile, rendered once to a texture and tiled behind the scene. Write one with defineGridTile from @data-xplorer/core/pixi.

size: number

Defined in: options.ts:14

The tile’s side in pixels at scale 1. It maps to one step of the world.

draw(kit): unknown

Defined in: options.ts:18

Draws one tile into a PixiJS container from kit, within 0..size on both axes, in white (or greys) so the grid’s color tints it. Called once per load. Its type is precise in ./pixi.

any

unknown