We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

    Show / Hide Table of Contents

    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
    Back to top Generated by DocFX