Show / Hide Table of Contents

    Class PointerClickHandler

    This component handles pointer clicks from all types of input sources.

    i.e. a primary mouse button click, motion controller selection press, or hand tap.

    Inheritance
    Object
    InputSystemGlobalHandlerListener
    BaseInputHandler
    PointerClickHandler
    Implements
    IMixedRealityPointerHandler
    IEventSystemHandler
    Inherited Members
    BaseInputHandler.IsFocusRequired
    BaseInputHandler.OnEnable()
    BaseInputHandler.Start()
    BaseInputHandler.Update()
    BaseInputHandler.OnDisable()
    InputSystemGlobalHandlerListener.InputSystem
    InputSystemGlobalHandlerListener.EnsureInputSystemValid()
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    [Obsolete("Use PointerHandler instead of PointerClickHandler", true)]
    public class PointerClickHandler : BaseInputHandler, IMixedRealityPointerHandler, IEventSystemHandler

    Methods

    OnPointerClicked(MixedRealityPointerEventData)

    When a pointer clicked event is raised, this method is used to pass along the event data to the input handler.

    Declaration
    public void OnPointerClicked(MixedRealityPointerEventData eventData)
    Parameters
    Type Name Description
    MixedRealityPointerEventData eventData

    OnPointerDown(MixedRealityPointerEventData)

    When a pointer down event is raised, this method is used to pass along the event data to the input handler.

    Declaration
    public void OnPointerDown(MixedRealityPointerEventData eventData)
    Parameters
    Type Name Description
    MixedRealityPointerEventData eventData

    OnPointerDragged(MixedRealityPointerEventData)

    Called every frame a pointer is down. Can be used to implement drag-like behaviors.

    Declaration
    public void OnPointerDragged(MixedRealityPointerEventData eventData)
    Parameters
    Type Name Description
    MixedRealityPointerEventData eventData

    OnPointerUp(MixedRealityPointerEventData)

    When a pointer up event is raised, this method is used to pass along the event data to the input handler.

    Declaration
    public void OnPointerUp(MixedRealityPointerEventData eventData)
    Parameters
    Type Name Description
    MixedRealityPointerEventData eventData

    RegisterHandlers()

    Declaration
    protected override void RegisterHandlers()
    Overrides
    InputSystemGlobalHandlerListener.RegisterHandlers()

    UnregisterHandlers()

    Declaration
    protected override void UnregisterHandlers()
    Overrides
    InputSystemGlobalHandlerListener.UnregisterHandlers()

    Implements

    IMixedRealityPointerHandler
    IEventSystemHandler
    Back to top Generated by DocFX