API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceLdtkTilesetDef
@codexo/exojs-ldtk / ldtk / stable
Tileset definition from `defs.tilesets`.
8
props
0
methods
0
events
Import
import { LdtkTilesetDef } from '@codexo/exojs-ldtk'Tileset definition from `defs.tilesets`.
Properties8
identifier: stringHuman-readable tileset identifier.
padding?: numberPixel padding (margin) around the atlas edges.
pxHei: numberTileset image height in pixels.
pxWid: numberTileset image width in pixels.
relPath: null | stringRelative path to the tileset atlas image. null for internal / embedded tilesets with no image.
spacing?: numberPixel spacing between tiles in the atlas.
tileGridSize: numberTile grid size (both width and height) in pixels.
uid: numberSource