Phaser API Documentation

  Version: 
updateTileData(imageWidth, imageHeight)

Description:

Updates tile texture coordinates and tileset data.

Parameters:

name type description
imageWidth number

The (expected) width of the image to slice.

imageHeight number

The (expected) height of the image to slice.

Returns:
Description:

This Tileset object.

Since: 3.0.0
Source: src/tilemaps/Tileset.js (Line 344)