Method ConvertToScenePosition
ConvertToScenePosition(Geospatial.LatLng)
Declaration
public RideVector3 ConvertToScenePosition(Geospatial.LatLng coord)
Parameters
Type | Name | Description |
---|---|---|
Geospatial.LatLng | coord |
Returns
Type | Description |
---|---|
RideVector3 |
Implements
ConvertToScenePosition(Double, Double, Int32)
Converts latitude and longitude coordinates to a position in the scene
Declaration
public RideVector3 ConvertToScenePosition(double lat, double lon, int precision = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Double | lat | World Latitude |
System.Double | lon | World Longitude |
System.Int32 | precision | The higher the number, the more accurate the scene point Range [0 - 5] |
Returns
Type | Description |
---|---|
RideVector3 | The position in the scene |