GrabTouchExample.OnTouchCompleted(HandTrackingInputEventData) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.