Vps2Localization
Spatial mapping between the device's AR coordinate space and real-world geolocation, as determined by VPS2. If [trackingState] is [Vps2TrackingState.UNAVAILABLE], conversions are invalid and native conversion APIs will throw
ArdkInvalidOperationStatusException.Declaration
data class Vps2LocalizationProperties
| Name | Type | Summary |
|---|---|---|
| isAvailable | Boolean | - |
| referenceAltitudeMetres | Double | Estimated altitude of the camera in metres. |
| referenceLatitudeDegrees | Double | Estimated latitude of the camera in degrees. |
| referenceLongitudeDegrees | Double | Estimated longitude of the camera in degrees. |
| trackingState | Vps2TrackingState | The state of VPS2 tracking. The other fields in this class are only valid if the tracking state is not [Vps2TrackingState.UNAVAILABLE]. |
| trackingStateValue | Int | Raw tracking state value from native ( ARDK_VPS2_TrackingState). |
| trackingToRelativeLonNegAltLat | DoubleArray | Transform from tracking to lat/lon/alt in metres relative to reference point. 4x4 flattened column-major matrix. Length is always 16. |