Sets the tile margin & spacing and updates the tile data (rows, columns, etc.).
name | type | arguments | description |
---|---|---|---|
margin | number | <optional> |
The margin around the tiles in the sheet (in pixels). |
spacing | number | <optional> |
The spacing between the tiles in the sheet (in pixels). |
This Tileset object.