Modifier

Partager via


ToggleSpatialMeshObserver Class

Definition

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.MonoBehaviour
ToggleSpatialMeshObserver
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

ToggleSpatialMeshObserver()

Methods

ToggleSpatialMeshVisual(Boolean)

Toggles the state of the mesh display option.

Applies to