Skip to main content
API Reference com.nianticspatial.nsdk.vps2

VPS2Transformer

Latest VPS2 output used to convert between AR poses and geolocations. The native VPS2 API represents the transform using a reference geolocation plus a 4x4 matrix (trackingToRelativeLonNegAltLat) in flattened column-major order. Notes on availability: - If [trackingState] is [VPS2TrackingState.UNAVAILABLE], conversions are invalid and native conversion APIs will throw ArdkInvalidOperationStatusException.

Declaration

data class VPS2Transformer

Properties

NameTypeSummary
isAvailableBoolean
-
referenceAltitudeMetresDouble
-
referenceLatitudeDegreesDouble
-
referenceLongitudeDegreesDouble
-
trackingStateVPS2TrackingState
-
trackingStateValueInt
Raw tracking state value from native (ARDK_VPS2_TrackingState).
trackingToRelativeLonNegAltLatDoubleArray
4x4 flattened column-major matrix. Length is always 16.