SpeechCommands Struct
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.
Data structure for mapping Voice and Keyboard input to MixedRealityInputActions that can be raised by the Input System.
public value class SpeechCommands
[System.Serializable]
public struct SpeechCommands
[<System.Serializable>]
type SpeechCommands = struct
Public Structure SpeechCommands
- Inheritance
-
SpeechCommands
- Attributes
Constructors
SpeechCommands(String, KeyCode, MixedRealityInputAction, String) |
Constructor. |
Properties
Action |
The MixedRealityInputAction that is raised by either the Keyword or KeyCode. |
KeyCode |
The corresponding KeyCode that also raises the same action as the Keyword. |
Keyword |
The Fallback Keyword to listen for, or the localization key if no fallback keyword was set. |
LocalizedKeyword |
The localized version of the keyword |