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.
Properties
Section titled “Properties”size:
number
Defined in: options.ts:14
The tile’s side in pixels at scale 1. It maps to one step of the world.
Methods
Section titled “Methods”draw()
Section titled “draw()”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.
Parameters
Section titled “Parameters”any
Returns
Section titled “Returns”unknown