ARGeospatialCreatorOrigin

Provides a Geospatial Creator Origin that has both a lat/lon and gamespace coordinates.

This is the reference point used by AR Anchors made in the Geospatial Creator to resolve their location in gamespace.

Summary

Inheritance

Inherits from: ARGeospatialCreatorObject

Properties

Altitude
double
Gets the altiude of this origin, in meters according to WGS84.
Latitude
double
Gets the latitude of this origin, in decimal degrees.
Longitude
double
Gets the longitude of this origin, in decimal degrees.

Public functions

SetOriginPoint(double latitude, double longitude, double altitude)
void
Sets the geospatial location for this origin, including updating the location for any dependent subcomponents.

Properties

Altitude

double Altitude

Gets the altiude of this origin, in meters according to WGS84.

Will return Double.NaN if the origin point has not been initialized.

Latitude

double Latitude

Gets the latitude of this origin, in decimal degrees.

Will return Double.NaN if the origin point has not been initialized.

Longitude

double Longitude

Gets the longitude of this origin, in decimal degrees.

Will return Double.NaN if the origin point has not been initialized.

Public functions

SetOriginPoint

void SetOriginPoint(
  double latitude,
  double longitude,
  double altitude
)

Sets the geospatial location for this origin, including updating the location for any dependent subcomponents.

This method is only available in the Unity Editor; moving the origin at runtime is not supported.

Details
Parameters
latitude
Latitude for the origin, in decimal degrees.
longitude
Longitude for the origin, in decimal degrees.
altitude
Altitude for the origin, meters according to WGS84.