/// <summary> /// Gets the world position of a vertex (i.e. corner) of a water area. Follow the order SW, SE, NW, NE /// </summary> public Vector3 GetVertexPosition(int vertexIndex) { Tuple <int, int, float> result = MtaShared.GetWaterVertexPosition(element, vertexIndex); return(new Vector3(result.Item1, result.Item2, result.Item3)); }