mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Interface IMixedRealityTouchHandler

    Implementation of this interface causes a script to receive notifications of Touch events from HandTrackingInputSources

    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IMixedRealityTouchHandler : IEventSystemHandler

    Methods

    OnTouchCompleted(HandTrackingInputEventData)

    When a Touch motion ends, this handler receives the event.

    Declaration
    void OnTouchCompleted(HandTrackingInputEventData eventData)
    Parameters
    Type Name Description
    HandTrackingInputEventData eventData

    Contains information about the HandTrackingInputSource.

    Remarks

    A Touch motion is defined as occurring within the bounds of an object (transitive).

    OnTouchCompleted(HandTrackingInputEventData)

    When a Touch motion ends, this handler receives the event.

    Declaration
    void OnTouchCompleted(HandTrackingInputEventData eventData)
    Parameters
    Type Name Description
    HandTrackingInputEventData eventData

    Contains information about the HandTrackingInputSource.

    Remarks

    A Touch motion is defined as occurring within the bounds of an object (transitive).

    OnTouchStarted(HandTrackingInputEventData)

    When a Touch motion has occurred, this handler receives the event.

    Declaration
    void OnTouchStarted(HandTrackingInputEventData eventData)
    Parameters
    Type Name Description
    HandTrackingInputEventData eventData

    Contains information about the HandTrackingInputSource.

    Remarks

    A Touch motion is defined as occurring within the bounds of an object (transitive).

    OnTouchStarted(HandTrackingInputEventData)

    When a Touch motion has occurred, this handler receives the event.

    Declaration
    void OnTouchStarted(HandTrackingInputEventData eventData)
    Parameters
    Type Name Description
    HandTrackingInputEventData eventData

    Contains information about the HandTrackingInputSource.

    Remarks

    A Touch motion is defined as occurring within the bounds of an object (transitive).

    OnTouchUpdated(HandTrackingInputEventData)

    When a Touch motion is updated, this handler receives the event.

    Declaration
    void OnTouchUpdated(HandTrackingInputEventData eventData)
    Parameters
    Type Name Description
    HandTrackingInputEventData eventData

    Contains information about the HandTrackingInputSource.

    Remarks

    A Touch motion is defined as occurring within the bounds of an object (transitive).

    OnTouchUpdated(HandTrackingInputEventData)

    When a Touch motion is updated, this handler receives the event.

    Declaration
    void OnTouchUpdated(HandTrackingInputEventData eventData)
    Parameters
    Type Name Description
    HandTrackingInputEventData eventData

    Contains information about the HandTrackingInputSource.

    Remarks

    A Touch motion is defined as occurring within the bounds of an object (transitive).

    In This Article
    • Methods
      • OnTouchCompleted(HandTrackingInputEventData)
      • OnTouchCompleted(HandTrackingInputEventData)
      • OnTouchStarted(HandTrackingInputEventData)
      • OnTouchStarted(HandTrackingInputEventData)
      • OnTouchUpdated(HandTrackingInputEventData)
      • OnTouchUpdated(HandTrackingInputEventData)
    Back to top Generated by DocFX