How to toggle spatial mesh observer visibility? #9673
-
I'm following along with Create dynamic content using Solvers and reached this Tip -
The issue is that the guide only shows you how to set the mesh visibility by creating a new custom profile and toggling the setting off in that profile. I'm not seeing a way to procedurally change mesh visibility at runtime - how is this meant to be done? In the tutorial would have logically expected to be able to add functions to OnPlacingStarted and OnPlacingStopped. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Please take a look here: https://docs.microsoft.com/en-us/windows/mixed-reality/mrtk-unity/features/spatial-awareness/usage-guide#showing-and-hiding-the-spatial-mesh |
Beta Was this translation helpful? Give feedback.
Please take a look here: https://docs.microsoft.com/en-us/windows/mixed-reality/mrtk-unity/features/spatial-awareness/usage-guide#showing-and-hiding-the-spatial-mesh
Note other docs under the Spatial Awareness folder may be also helpful to you.