IMixedRealityTouchHandler Interface

Definition

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

C++
public interface class IMixedRealityTouchHandler : UnityEngine::EventSystems::IEventSystemHandler
Derived
Implements
UnityEngine.EventSystems.IEventSystemHandler

Methods

OnTouchCompleted(HandTrackingInputEventData)

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

OnTouchStarted(HandTrackingInputEventData)

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

OnTouchUpdated(HandTrackingInputEventData)

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

Applies to

Produkt Versioner
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0