InteractableReceiverList.OnVoiceCommand Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- state
- InteractableStates
- source
- Interactable
- command
- String
- index
- Int32
index of the voice command
- length
- Int32
voice command array length