API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceTileAnimationFrame
@codexo/exojs-tilemap / tilemap / stable
One frame of a tile animation: which local tile to show, and for how long. Mirrors Tiled's per-tile animation frame model.
2
props
0
methods
0
events
Import
import { TileAnimationFrame } from '@codexo/exojs-tilemap'One frame of a tile animation: which local tile to show, and for how long. Mirrors Tiled's per-tile animation frame model.
Properties2
duration: numberFrame duration in milliseconds.
localTileId: numberLocal tile ID shown during this frame (within the tile's own tileset).
Source