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

    Class PhysicalPressEventRouter

    This class exists to route PressableButton events through to Interactable. The result is being able to have physical touch call Interactable.OnPointerClicked.

    Inheritance
    Object
    PhysicalPressEventRouter
    Namespace: Microsoft.MixedReality.Toolkit.Examples.Demos
    Assembly: cs.temp.dll.dll
    Syntax
    public class PhysicalPressEventRouter : MonoBehaviour

    Fields

    InteractableOnClick

    Declaration
    public PhysicalPressEventRouter.PhysicalPressEventBehavior InteractableOnClick
    Field Value
    Type Description
    PhysicalPressEventRouter.PhysicalPressEventBehavior

    routingTarget

    Declaration
    public Interactable routingTarget
    Field Value
    Type Description
    Interactable

    Methods

    OnHandPressCompleted()

    Declaration
    public void OnHandPressCompleted()

    OnHandPressTouched()

    Declaration
    public void OnHandPressTouched()

    OnHandPressTriggered()

    Declaration
    public void OnHandPressTriggered()

    OnHandPressUntouched()

    Declaration
    public void OnHandPressUntouched()
    Back to top Generated by DocFX