API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceGridSpaceOptions
@codexo/exojs-pathfinding / pathfinding / stable
Construction options for GridSpace.
6
props
0
methods
0
events
Import
import { GridSpaceOptions } from '@codexo/exojs-pathfinding'Construction options for GridSpace.
Properties6
cellOriginX?: numberWorld x of cell 0's left edge, before the window origin. Defaults to 0.
cellOriginY?: numberWorld y of cell 0's top edge, before the window origin. Defaults to 0.
cellSize?: numberWorld size of one cell. The distance metric assumes square cells, so a tilemap with non-square tiles has to pick one axis. Defaults to 1.
Defaults to 'no-corner-cutting'.
originX?: numberCell x of the window's left column. Defaults to 0.
originY?: numberCell y of the window's top row. Defaults to 0.
Source