編輯

共用方式為


ToggleSpatialMeshVisualization Class

Definition

This class controls the visualization of the spatial mesh.

public ref class ToggleSpatialMeshVisualization : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/ToggleSpatialMeshVisualization")]
public class ToggleSpatialMeshVisualization : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/ToggleSpatialMeshVisualization")>]
type ToggleSpatialMeshVisualization = class
    inherit MonoBehaviour
Public Class ToggleSpatialMeshVisualization
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
ToggleSpatialMeshVisualization
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

ToggleSpatialMeshVisualization()

Methods

ToggleSpatialMeshVisual(Boolean)

Toggles the state of the mesh display option.

Applies to