GetLatestLocalization
Declaration
public XRVps2Localization GetLatestLocalization()
Summary
Remarks
The localization relates the AR session space origin to a geographic reference point; it is not
relative to the current camera pose. Convert specific poses and geolocations with
GetPose and
TryGetGeolocation.
Notice
The localization is a point-in-time snapshot. Updates to VPS2’s estimate are not reflected in previously retrieved localization instances. Call this method again each frame to get the most up-to-date estimates.
Get the latest VPS2 localization. The localization contains the metadata required to perform bidirectional
conversions between the application’s AR tracking space and the global coordinate system
(lat/lng/alt/heading).