setScale(xScale, yScale)
This method will set the scale of the tilemap as well as update the underlying block data of this layer.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
xScale | number | <optional> | 1 | The scale factor along the X-plane |
yScale | number | <optional> | The scale factor along the Y-plane |
- Source code: tilemap/TilemapLayer.js (Line 712)
Please login to continue.