# 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 ||
|---|---|
| `https://developers.google.com/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/GeospatialCreator/ARGeospatialCreatorOrigin#altitude` | `double` Gets the altiude of this origin, in meters according to WGS84. |
| `https://developers.google.com/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/GeospatialCreator/ARGeospatialCreatorOrigin#latitude` | `double` Gets the latitude of this origin, in decimal degrees. |
| `https://developers.google.com/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/GeospatialCreator/ARGeospatialCreatorOrigin#longitude` | `double` Gets the longitude of this origin, in decimal degrees. |

| ### Public functions ||
|---|---|
| `https://developers.google.com/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/GeospatialCreator/ARGeospatialCreatorOrigin#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

```c#
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

```c#
double Latitude
```
Gets the latitude of this origin, in decimal degrees.

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

### Longitude

```c#
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

```c#
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.