Enable/Disable Spatial Mapping at runtime in MRTK2

后端 未结 3 1361
我寻月下人不归
我寻月下人不归 2021-01-25 03:41

With the new MRTK2 I\'m looking to disable spatial mapping after we are done using it to place GameObjects. I\'m stuck on what exactly to call in the namespace or on the service

3条回答
  •  隐瞒了意图╮
    2021-01-25 04:33

    I would have expected the SuspendObservers() method to result in no new meshes being displayed. Do you see the meshes changing after suspending?

    It is by design for the meshes to remain visible until the application explicitly sets their visibility to None via the IMixedRealitySpatialAwarenessMeshObserver.DisplayOption property.

    Thanks!

提交回复
热议问题