TileMap.worldToMap

Returns the tilemap (grid-based) coordinatescorresponding to the given global position.

struct TileMap
@nogc nothrow const
Vector2
worldToMap
(
in Vector2 world_position
)

Meta