SpeechKeywordUtility Class

Definition

Provides helpers for rendering speech keyword dropdowns populated from the MRTK speech profile.

C++
public ref class SpeechKeywordUtility abstract sealed
Inheritance
SpeechKeywordUtility

Methods

GetDistinctRegisteredKeywords()

Look for speech commands in the MRTK speech command profile. Adds a "(No Selection)" value at index zero and filters out duplicate values.

RenderKeywords(SerializedProperty, Rect, GUIContent)

Renders a dropdown with all keywords in the active MixedRealitySpeechCommandsProfile.

RenderKeywordsExcept(String[], SerializedProperty, Rect, GUIContent)

Renders a dropdown with all keywords in the active MixedRealitySpeechCommandsProfile except those passed in.

Applies to

Produkt Verzie
MRTK2 Unity 2019 2.8.0
MRTK2 Unity 2020 2.8.0