Skip to main content
←API Reference ←NianticSpatial.NSDK.AR.VPS2 ←ARVps2Manager

TryGetLatestLocalization


Declaration​

public bool TryGetLatestLocalization(out XRVps2Localization localizationOut)

Summary​

Attempts to get the latest VPS2 localization, which carries the data required to
convert between the AR tracking space and geolocation.

Remarks​

The geolocation fields are only valid while
TrackingState is not
Unavailable. The localized asset is independent of
the tracking state: an asset without a georeference is reported while the state
stays unavailable.

Returns​

true if the subsystem exists; otherwise false.

Parameters​

NameTypeSummary
localizationOutXRVps2Localization
Receives the localization on success.