readTileGid
readTileGid(
gid):TileGid
Defined in: tilemap/src/tiled/gid.ts:25
Split a raw Tiled GID into its tile id and orientation. Layer data in
TilemapData.tileLayers[].data holds raw GIDs, so a game that cares which
way a tile faces reads them through this.
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/tilemap.md.