We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am doing the same project, and I use this reference solution #10082 (comment) to get the coordinate system:
#if ENABLE_WINMD_SUPPORT Windows.Perception.Spatial.SpatialCoordinateSystem unityWorldOrigin; #endif
private void Awake() {
#if ENABLE_WINMD_SUPPORT SpatialCoordinateSystem unityWorldOrigin = PerceptionInterop.GetSceneCoordinateSystem(UnityEngine.Pose.identity) as SpatialCoordinateSystem; #endif
But it always return null.
Expected behaviour: The function returns the coordinate system
Unity editor version Unity 2022.3.21f1
Mixed Reality Toolkit MRTK 3
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am doing the same project, and I use this reference solution #10082 (comment) to get the coordinate system:
#if ENABLE_WINMD_SUPPORT
Windows.Perception.Spatial.SpatialCoordinateSystem unityWorldOrigin;
#endif
#if ENABLE_WINMD_SUPPORT
SpatialCoordinateSystem unityWorldOrigin = PerceptionInterop.GetSceneCoordinateSystem(UnityEngine.Pose.identity) as SpatialCoordinateSystem;
#endif
But it always return null.
Expected behaviour:
The function returns the coordinate system
Unity editor version
Unity 2022.3.21f1
Mixed Reality Toolkit
MRTK 3
The text was updated successfully, but these errors were encountered: