Show / Hide Table of Contents

Method WorldToOverlayCoords

| Edit this page View Source

WorldToOverlayCoords(Vector3, int)

Input a World Coordinate and the size of the overlay texture to retrieve the translated overlay coordinates.
Declaration
public Vector2 WorldToOverlayCoords(Vector3 input, int texSize)
Parameters
Type Name Description
Vector3 input World Coordinates
int texSize Size of the image from your MapOverlay
Returns
Type Description
Vector2 The 2D coordinate space on the MapOverlay
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾