The x coordinate to be converted, in pixels, not tiles.
The y coordinate to be converted, in pixels, not tiles.
Whether or not to round the tile coordinate down to the nearest integer.
A Vector2 to store the coordinates in. If not given a new Vector2 is created.
The Camera to use when calculating the tile index from the world values.
The Tilemap Layer to act upon.
Converts from world XY coordinates (pixels) to tile XY coordinates (tile units), factoring in the layer's position, scale and scroll. This will return a new Vector2 object or update the given
pointobject.