API reference

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

I

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: string
Human-readable tileset identifier.
padding?: number
Pixel padding (margin) around the atlas edges.
pxHei: number
Tileset image height in pixels.
pxWid: number
Tileset image width in pixels.
relPath: null | string
Relative path to the tileset atlas image. null for internal / embedded tilesets with no image.
spacing?: number
Pixel spacing between tiles in the atlas.
tileGridSize: number
Tile grid size (both width and height) in pixels.
uid: number
Source