API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceTiledTileLayerData
@codexo/exojs-tiled / tiled / stable
A finite-map tile layer has `data` (a flat, row-major array of GIDs of length `width * height`). An infinite-map tile layer has `chunks` instead.
18
props
0
methods
0
events
Import
import { TiledTileLayerData } from '@codexo/exojs-tiled'A finite-map tile layer has `data` (a flat, row-major array of GIDs of length `width * height`). An infinite-map tile layer has `chunks` instead.
Properties18
chunks?: readonly TiledChunkDataA chunk of tile data within an infinite tile layer.[]class?: stringdata?: readonly number[]height: numberid: numbername: stringoffsetx?: numberoffsety?: numberopacity: numberparallaxx?: numberparallaxy?: numbertintcolor?: stringtype: "tilelayer"visible: booleanwidth: numberx: numbery: numberSource