Class TileMapRuntimeObjectPixiRenderer
Hierarchy
- TileMapRuntimeObjectPixiRenderer
Methods
flipTileOnX
- flipTileOnX(x: number, y: number, layerIndex: number, flip: boolean): void
Parameters
x: number
y: number
layerIndex: number
flip: boolean
Returns void
flipTileOnY
- flipTileOnY(x: number, y: number, layerIndex: number, flip: boolean): void
Parameters
x: number
y: number
layerIndex: number
flip: boolean
Returns void
getGridColumnCount
- getGridColumnCount(): number
getGridRowCount
- getGridRowCount(): number
getRendererObject
- getRendererObject(): CompositeTilemap
getTileId
- getTileId(x: number, y: number, layerIndex: number): number
Parameters
x: number
y: number
layerIndex: number
Returns number
getTileMap
- getTileMap(): null | EditableTileMap
Returns null | EditableTileMap
getTileMapHeight
- getTileMapHeight(): number
getTileMapWidth
- getTileMapWidth(): number
isTileFlippedOnX
- isTileFlippedOnX(x: number, y: number, layerIndex: number): boolean
Parameters
x: number
y: number
layerIndex: number
Returns boolean
isTileFlippedOnY
- isTileFlippedOnY(x: number, y: number, layerIndex: number): boolean
Parameters
x: number
y: number
layerIndex: number
Returns boolean
refreshPixiTileMap
- refreshPixiTileMap(textureCache: TileTextureCache): void
Parameters
textureCache: TileTextureCache
Returns void
setGridColumnCount
- setGridColumnCount(targetColumnCount: number): void
Parameters
targetColumnCount: number
Returns void
setGridRowCount
- setGridRowCount(targetRowCount: number): void
setHeight
- setHeight(height: number): void
setScaleX
- setScaleX(scaleX: number): void
setScaleY
- setScaleY(scaleY: number): void
setWidth
- setWidth(width: number): void
updatePixiTileMap
- updatePixiTileMap(tileMap: EditableTileMap, textureCache: TileTextureCache): void
Parameters
tileMap: EditableTileMap
textureCache: TileTextureCache
Returns void
The PIXI.js renderer for the Tile map runtime object.