What are Gestures?

Gestures are input events based on human hands.

There are two types of devices that raise gesture input events in Mixed Reality Toolkit(MRTK):

  • Windows Mixed Reality devices such as HoloLens. This describes pinching motions ("Air Tap") and tap-and-hold gestures.

WindowsMixedRealityDeviceManagerarrow-up-right wraps the Unity XR.WSA.Input.GestureRecognizerarrow-up-right to consume Unity's gesture events from HoloLens devices.

  • Touch screen devices.

UnityTouchControllerarrow-up-right wraps the Unity Touch classarrow-up-right that supports physical touch screens.

Both of these input sources use the Gesture Settings profile to translate Unity's Touch and Gesture events respectively into MRTK's Input Actionsarrow-up-right. This profile can be found under the Input System Settings profile.

Gesture Profile Settings

Last updated

Was this helpful?