phaser - v4.0.0-rc.4
    Preparing search index...
    • Gets the corners of the Hexagonal Tile as an array of Vector2s.

      Parameters

      • tileX: number

        The x coordinate, in tiles, not pixels.

      • tileY: number

        The y coordinate, in tiles, not pixels.

      • camera: Cameras.Scene2D.Camera

        The Camera to use when calculating the tile index from the world values.

      • layer: LayerData

        The Tilemap Layer to act upon.

      Returns Math.Vector2[]