API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceTiledTileData

@codexo/exojs-tiled / tiled / stable

A per-tile definition within a tileset's `tiles` array. Sparse - only tiles carrying metadata (properties, animation, a collision objectgroup, or a collection-of-images source) appear here.

8
props
0
methods
0
events
Import
import { TiledTileData } from '@codexo/exojs-tiled'

A per-tile definition within a tileset's `tiles` array. Sparse - only tiles carrying metadata (properties, animation, a collision objectgroup, or a collection-of-images source) appear here.

Properties8
id: number
Local tile id within the owning tileset.
image?: string
Collection-of-images tile source, relative to the tileset's location.
imageheight?: number
imagewidth?: number
Per-tile collision shapes, structurally identical to an object layer.
type?: string
Tile class (class/type field depending on Tiled version).
Source