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