TryGetDeviceGeolocation
Declaration
public bool TryGetDeviceGeolocation(out XRVps2Geolocation geolocationOut, HeadingMode headingMode = HeadingMode.CameraDirection)
Parameters
| Name | Type | Summary |
|---|---|---|
| geolocationOut | XRVps2Geolocation | Receives the geolocation data on success. |
| headingMode | HeadingMode | Controls how the heading is derived. Use CameraDirection when the device is upright, or DeviceTop when flat or for a compass-style heading. |