GetDeviceGeolocation
Get the geolocation of the device's last known camera pose.
Declaration
public XRVps2Geolocation GetDeviceGeolocation(HeadingMode headingMode = HeadingMode.CameraDirection)
Summary
Returns
Geolocation data. Check tracking state for availability.
Parameters
| Name | Type | Summary |
|---|---|---|
| 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. |
Get the geolocation of the device's last known camera pose.