編輯

共用方式為


IInteractableHandler.OnVoiceCommand Method

Definition

A voice command was called

public void OnVoiceCommand (Microsoft.MixedReality.Toolkit.UI.InteractableStates state, Microsoft.MixedReality.Toolkit.UI.Interactable source, string command, int index = 0, int length = 1);
abstract member OnVoiceCommand : Microsoft.MixedReality.Toolkit.UI.InteractableStates * Microsoft.MixedReality.Toolkit.UI.Interactable * string * int * int -> unit
Public Sub OnVoiceCommand (state As InteractableStates, source As Interactable, command As String, Optional index As Integer = 0, Optional length As Integer = 1)

Parameters

source
Interactable
command
String
index
Int32
length
Int32

Applies to