Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To run with OpenXR #4

Open
linas-apprenticefs opened this issue May 23, 2022 · 1 comment
Open

To run with OpenXR #4

linas-apprenticefs opened this issue May 23, 2022 · 1 comment

Comments

@linas-apprenticefs
Copy link


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

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

@nothingbut1
Copy link

nothingbut1 commented Mar 6, 2023

Thanks, It really helped!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants