doughtmw / display-calibration-hololens

Point correspondence-based display calibration and ArUco marker tracking for the HoloLens 2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

To run with OpenXR

linas-apprenticefs opened this issue · comments


using Microsoft.MixedReality.OpenXR;
...
_unityCoordinateSystem =
Marshal.GetObjectForIUnknown(WorldManager.GetNativeISpatialCoordinateSystemPtr()) as SpatialCoordinateSystem;

_unityCoordinateSystem = PerceptionInterop.GetSceneCoordinateSystem(UnityEngine.Pose.identity) as SpatialCoordinateSystem;

commented

Thanks, It really helped!