GetPose
Convert a position and orientation in the global coordinate system to a pose in the device's AR tracking space.
Declaration
public XRVps2Pose GetPose(XRVps2Localization localization, LocationInfo location)
Summary
Returns
The AR pose corresponding to the given location.
Parameters
| Name | Type | Summary |
|---|---|---|
| localization | XRVps2Localization | - |
| latitude | double | - |
| longitude | double | - |
| altitude | double | - |
| orientationEdn | Quaternion | - |
Overload
public XRVps2Pose GetPose(XRVps2Localization localization, double latitude, double longitude, double altitude, Quaternion orientationEdn)
Summary
Convert a position and orientation in the global coordinate system to a pose in the device's AR tracking space.
Parameters
| Name | Type | Summary |
|---|---|---|
| localization | XRVps2Localization | - |
| latitude | double | - |
| longitude | double | - |
| altitude | double | - |
| orientationEdn | Quaternion | - |
Convert a Unity LocationInfo to a pose in the device's AR tracking space using the provided localization.