 | IMapTPointRawWorldToGrid Method |
This method maps a world point to a grid point
without making any compensation based on the
anchoring.
This method should be used for calculations in maps,
rather than the index methods. (The index methods do
the anchor compensation.If you use that method
instead of this one internally, you may compensate
more than one time.
Namespace:
Gamelogic.Grids
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
SyntaxTPoint RawWorldToGrid(
Vector2 worldPoint
)
Parameters
- worldPoint
- Type: Vector2
Return Value
Type:
TPoint
See Also