TileMapOptions
Index
Properties
columns
optionalmeshingLookBehind
Optionally configure the meshing lookbehind for Tilemap, Tilemaps combine solid tiles into optimal geometry and the lookbehind configures how far back the Tilemap to look for geometry when combining. Meshing is an expensive operation, so when the Tilemap geometry is invalidated it must be recalculated.
Default is 10 slots, but if your Tilemap does not change positions or solid tiles often you can increase this to Infinity.
optionalname
Optionally name the tile map
optionalpos
Optionally specify the position of the tile map
optionalrenderFromTopOfGraphic
Optionally render from the top of the graphic, by default tiles are rendered from the bottom
rows
The number of tile rows, or the number of tiles high
tileHeight
Height of an individual tile in pixels
tileWidth
Width of an individual tile in pixels
The number of tile columns, or the number of tiles wide