Gets the corners of the Tile as an array of Vector2s.
name | type | description |
---|---|---|
tileX | number |
The x coordinate, in tiles, not pixels. |
tileY | number |
The y coordinate, in tiles, not pixels. |
camera | Phaser.Cameras.Scene2D.Camera |
The Camera to use when calculating the tile index from the world values. |
layer | Phaser.Tilemaps.LayerData |
The Tilemap Layer to act upon. |
An array of Vector2s corresponding to the world XY location of each tile corner.