API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
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
animation?: readonly TiledAnimationFrameDataOne frame of a tile's animation sequence.[]id: numberLocal tile id within the owning tileset.
image?: stringCollection-of-images tile source, relative to the tileset's location.
imageheight?: numberimagewidth?: numberobjectgroup?: TiledObjectLayerDataFields shared by every layer type.Per-tile collision shapes, structurally identical to an object layer.
type?: stringTile class (class/type field depending on Tiled version).
Source