API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceTileColliderContext
@codexo/exojs-tilemap-physics / tilemap-physics / stable
What a TileColliderMaterialResolver is asked about.
4
props
0
methods
0
events
Import
import { TileColliderContext } from '@codexo/exojs-tilemap-physics'What a TileColliderMaterialResolver is asked about.
Properties4
The source object, or null for a merged whole-cell region - a merged run spans many tiles and has no single originating object.
tx?: numberTile column the geometry came from; the top-left cell of a merged region. Absent for object-layer objects, which are not placed on the tile grid.
ty?: numberTile row, under the same rule as tx.
type: stringThe class/type string of the source geometry: the shared type of a merged region, or the source object's own. Empty when the source carries none.
Source