Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

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.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. 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. And always feel free to hit us up on Twitter @MxdRealityDev.

How do I delete spatial mapping data in HoloLens in c++ code?

MusaMusa
edited November 2018 in Questions And Answers

Hi everyone,

Is there any Visual Studio project example (not Unity) or c++ code example that allow me to delete the stored spatial mapping data in HoloLens system?

I want to develop a HoloLens remoting app and when the user launches the app, I want the spatial mapping automatically start and last for 30 seconds.

The problem I am having now is occasionally the spatial mapping mesh won't be rendered and I found out the reason is somehow the spatial mapping did not even start.

I am not sure the exact reason so I want to try if clear all the stored spatial mapping will help solve this problem.

Any help is appreciated.

Thanks,

Best Answer

Answers

  • @stepan_stulov said:
    Hey, @Musa

    While I'm not familiar with C++ HoloLens development in particular, I believe you cannot do that, there are no public APIs for messing with Spaces (aka Holograms) other than manually from the settings.

    Cheers

    Hi Stepan, thanks. I do agree with you now...

Sign In or Register to comment.