Interface IInteractableHandler
Namespace: Microsoft.MixedReality.Toolkit.UI
Assembly: cs.temp.dll.dll
Syntax
public interface IInteractableHandler
Methods
OnClick(InteractableStates, Interactable, IMixedRealityPointer)
A click event happened
Declaration
void OnClick(InteractableStates state, Interactable source, IMixedRealityPointer pointer = null)
Parameters
| Type | Name | Description |
|---|---|---|
| InteractableStates | state | |
| Interactable | source | |
| IMixedRealityPointer | pointer |
OnStateChange(InteractableStates, Interactable)
Declaration
void OnStateChange(InteractableStates state, Interactable source)
Parameters
| Type | Name | Description |
|---|---|---|
| InteractableStates | state | |
| Interactable | source |
OnVoiceCommand(InteractableStates, Interactable, String, Int32, Int32)
A voice command was called
Declaration
void OnVoiceCommand(InteractableStates state, Interactable source, string command, int index = 0, int length = 1)
Parameters
| Type | Name | Description |
|---|---|---|
| InteractableStates | state | |
| Interactable | source | |
| String | command | |
| Int32 | index | |
| Int32 | length |