TryGetLatestLocalization
Declaration
public bool TryGetLatestLocalization(out XRVps2Localization localizationOut)
Summary
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
| Name | Type | Summary |
|---|---|---|
| localizationOut | XRVps2Localization | Receives the localization on success. |
Attempts to get the latest VPS2 localization, which carries the data required to
convert between the AR tracking space and geolocation.