API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceTileCollisionGeometry
@codexo/exojs-tilemap / tilemap / stable
Collision geometry extracted from a tile layer: whole-cell boxes merged into as few TileCollisionRects as a greedy pass can manage, plus every other shape passed through individually.
2
props
0
methods
0
events
Import
import { TileCollisionGeometry } from '@codexo/exojs-tilemap'Collision geometry extracted from a tile layer: whole-cell boxes merged into as few TileCollisionRects as a greedy pass can manage, plus every other shape passed through individually.
Properties2
Merged whole-cell rectangles, in row-major order.
Non-whole-cell shapes, in the order their tiles were walked.
Source