ToggleSpatialMeshObserver Class   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This class controls the observer of the spatial mesh.
public ref class ToggleSpatialMeshObserver : UnityEngine::MonoBehaviour
	[UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/ToggleSpatialMeshObserver")]
public class ToggleSpatialMeshObserver : UnityEngine.MonoBehaviour
	[<UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/ToggleSpatialMeshObserver")>]
type ToggleSpatialMeshObserver = class
    inherit MonoBehaviour
	Public Class ToggleSpatialMeshObserver
Inherits MonoBehaviour
		- Inheritance
 - 
				UnityEngine.MonoBehaviourToggleSpatialMeshObserver
 
- Attributes
 - 
			UnityEngine.AddComponentMenuAttribute
 
Constructors
| ToggleSpatialMeshObserver() | 
Methods
| ToggleSpatialMeshVisual(Boolean) | 
		 Toggles the state of the mesh display option.  |