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.
How to use the direct environment within your app?
I was just wondering how to integrate the Spatial Mapping functionality into your own app, where it scans the environment and places holograms, etc. within the specific environment you are using the HoloLens within at the time?
I have been following the tutorials on the Microsoft HoloLens website, where the Spatial Mapping 203 tutorial (https://docs.microsoft.com/en-gb/windows/mixed-reality/holograms-230#chapter-1---scanning) has been very helpful in the fact that the finished version of the Planetarium app uses the exact functionality that I'm trying to integrate for my own app.
I have scanned in my local environment, however I don't think the Planetarium app has to do this, it appears to scan in real-time I think as oppose to using an existing room scan.
To summarise, I want to have the Spatial Mapping features exactly like the Planetarium app, where you can place holograms around the room and the room is your environment and not a pre-defined room like the HoloLens Emulator uses.
Thank you very much for your time and help.