Modifica

Condividi tramite


InteractableReceiverList.OnVoiceCommand Method

Definition

captures voice commands

public override void OnVoiceCommand (Microsoft.MixedReality.Toolkit.UI.InteractableStates state, Microsoft.MixedReality.Toolkit.UI.Interactable source, string command, int index = 0, int length = 1);
override this.OnVoiceCommand : Microsoft.MixedReality.Toolkit.UI.InteractableStates * Microsoft.MixedReality.Toolkit.UI.Interactable * string * int * int -> unit
Public Overrides 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

index of the voice command

length
Int32

voice command array length

Applies to