public static Vector2i CoordinateExtensions.WorldToMap(Vector2 v)
Calls WorldToMap on CoordinateExtensions with v and returns Vector2i. Open the return contract below before using the result.
Vector2iA two-dimensional integer position. Used by grid-position and pathfinding APIs; screen-position APIs may expect a different coordinate type.
Parameters
v- Parameter type:
Vector2Specifies v.
Returns: The Vector2i result.