Bearbeiten

Freigeben über


GrabTouchExample.OnTouchCompleted(HandTrackingInputEventData) Method

Definition

This Handler is called by a HandTrackingInputSource when a Touch action for that hand starts.

public:
 virtual void OnTouchCompleted(Microsoft::MixedReality::Toolkit::Input::HandTrackingInputEventData ^ eventData);
public void OnTouchCompleted (Microsoft.MixedReality.Toolkit.Input.HandTrackingInputEventData eventData);
abstract member OnTouchCompleted : Microsoft.MixedReality.Toolkit.Input.HandTrackingInputEventData -> unit
override this.OnTouchCompleted : Microsoft.MixedReality.Toolkit.Input.HandTrackingInputEventData -> unit
Public Sub OnTouchCompleted (eventData As HandTrackingInputEventData)

Parameters

eventData
HandTrackingInputEventData

The argument passed contains information about the InputSource, the point in space where the Touch action occurred and the status of the Touch action.

Implements

Remarks

A Touch action requires a target. a Touch action must occur inside the bounds of a gameObject. The eventData argument contains.

Applies to