Читати англійською Редагувати

Поділитися через


SpeechCommands Struct

Definition

Data structure for mapping Voice and Keyboard input to MixedRealityInputActions that can be raised by the Input System.

C++
public value class SpeechCommands
Inheritance
SpeechCommands
Attributes

Constructors

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

Applies to

Продукт Версії
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