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).
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).