Method OverlayToWorldCoords
| Improve this Doc View SourceOverlayToWorldCoords(Vector2, int)
Input a MapOverlay Coordinate and the size of the overlay texture to retrieve the translated World coordinates.
Declaration
public Vector3 OverlayToWorldCoords(Vector2 input, int texSize)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | input | The 2D Overlay coordinate |
int | texSize | The size of the Overlay |
Returns
Type | Description |
---|---|
Vector3 | The 3D World coordinate that corresponds to the input Vector |