SpeechInputHandler Class
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 component handles the speech input events raised form the IMixedRealityInputSystem.
C++
public ref class SpeechInputHandler : Microsoft::MixedReality::Toolkit::Input::BaseInputHandler, Microsoft::MixedReality::Toolkit::Input::IMixedRealitySpeechHandler, UnityEngine::EventSystems::IEventSystemHandler
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/SpeechInputHandler")]
[UnityEngine.DisallowMultipleComponent]
public class SpeechInputHandler : Microsoft.MixedReality.Toolkit.Input.BaseInputHandler, Microsoft.MixedReality.Toolkit.Input.IMixedRealitySpeechHandler, UnityEngine.EventSystems.IEventSystemHandler
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/SpeechInputHandler")>]
[<UnityEngine.DisallowMultipleComponent>]
type SpeechInputHandler = class
inherit BaseInputHandler
interface IMixedRealitySpeechHandler
interface IMixedRealityBaseInputHandler
interface IEventSystemHandler
Public Class SpeechInputHandler
Inherits BaseInputHandler
Implements IEventSystemHandler, IMixedRealitySpeechHandler
- Inheritance
- Attributes
-
UnityEngine.AddComponentMenuAttribute UnityEngine.DisallowMultipleComponentAttribute
- Implements
-
IMixedRealityBaseInputHandler IMixedRealitySpeechHandler Unity
Engine. Event Systems. IEvent System Handler
Is |
Is Focus required to receive input events on this GameObject? (Inherited from BaseInputHandler) |
Keywords |
The keywords to be recognized and optional keyboard shortcuts. |
Speech |
Tooltip prefab used to display confirmation label. Optional. |
Add |
|
Ensure |
A task that will only complete when the input system has in a valid state. (Inherited from InputSystemGlobalHandlerListener) |
On |
(Inherited from BaseInputHandler) |
On |
(Inherited from BaseInputHandler) |
Register |
|
Remove |
|
Start() | |
Unregister |
|
Update() | (Inherited from BaseInputHandler) |
Producto | Versiones |
---|---|
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 |