Redigera

Dela via


SpeechKeywordUtility Class

Definition

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

public ref class SpeechKeywordUtility abstract sealed
public static class SpeechKeywordUtility
type SpeechKeywordUtility = class
Public Class SpeechKeywordUtility
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