The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
Confused by the Mixed Reality Toolkit
I'm confused about what the Mixed Reality Toolkit is and how to use it. I'm creating a UWP Hololens app using C# and UrhoSharp. Can I use the MRTK or can it only be used with Unity?
Best Answer
-
Options
There are two toolkits one is unity specific. The other isn't, but is C++.
When @Egorbo implemented urhosharp, he initially put in plane finding from the mrtk. You can look through the code to see how he did it. He didn't link to .dll's for this, but added c++ files.
Here is a link to that code:
https://github.com/xamarin/urho/tree/master/Urho3D/Urho3D_SharpReality/UrhoSharp.SharpRealityThe easiest way I've found to take advantage of the mrtk is to learn to compile urho and UrhoSharp, then extend it by adding in the mrtk components that you want to use as @Egorbo did, but you need some c++ skills.
Another way is to wrap the c++ dlls in c# wrappers to access the functionality.
I've not found the mrtk components in c#. Also not really finding much useful in that toolkit, but likely since I've been on a different path.
5
Answers
There are two toolkits one is unity specific. The other isn't, but is C++.
When @Egorbo implemented urhosharp, he initially put in plane finding from the mrtk. You can look through the code to see how he did it. He didn't link to .dll's for this, but added c++ files.
Here is a link to that code:
https://github.com/xamarin/urho/tree/master/Urho3D/Urho3D_SharpReality/UrhoSharp.SharpReality
The easiest way I've found to take advantage of the mrtk is to learn to compile urho and UrhoSharp, then extend it by adding in the mrtk components that you want to use as @Egorbo did, but you need some c++ skills.
Another way is to wrap the c++ dlls in c# wrappers to access the functionality.
I've not found the mrtk components in c#. Also not really finding much useful in that toolkit, but likely since I've been on a different path.