Skip to content

buildCollisionPaletteModel

buildCollisionPaletteModel(material?): TilesetModel

Defined in: tilemap/collisionPalette.ts:118

The collision palette AS a TilesetModel — the same model resolveTilesetModel derives from .estileset(s), so a collision layer feeds the identical spawn + overlay code. slots is empty (no atlas ⇒ the renderer draws nothing); collidableTileIds holds the plain solid box (greedy-merged), tileShapes the richer brushes (slopes / halves / one-way / sensor), one collider each.

CollisionMaterial

TilesetModel