DiagnosticsSystemVoiceControls Class

Definition

Class that listens for and acts upon diagnostic system voice commands.

C++
public ref class DiagnosticsSystemVoiceControls : UnityEngine::MonoBehaviour, Microsoft::MixedReality::Toolkit::Input::IMixedRealitySpeechHandler, UnityEngine::EventSystems::IEventSystemHandler
Inheritance
UnityEngine.MonoBehaviour
DiagnosticsSystemVoiceControls
Attributes
UnityEngine.AddComponentMenuAttribute
Implements
IMixedRealityBaseInputHandler IMixedRealitySpeechHandler UnityEngine.EventSystems.IEventSystemHandler

Constructors

Methods

ToggleDiagnostics()

Shows or hides all enabled diagnostics.

ToggleProfiler()

Shows or hides the profiler display.

Explicit Interface Implementations

IMixedRealitySpeechHandler.OnSpeechKeywordRecognized(SpeechEventData) UnityEngine.MonoBehaviour.Microsoft#MixedReality#Toolkit#Input#IMixedRealitySpeechHandler#OnSpeechKeywordRecognized(Microsoft.MixedReality.Toolkit.Input.SpeechEventData)

Applies to

Produkt Verzie
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0