Version: 2018.2

TappedEventArgs

struct in UnityEngine.XR.WSA.Input

Switch to Manual

Description

Contains fields that are relevant when a tap gesture occurs.

To receive this information, you should register with Tapped.

Variables

headPoseHead pose of the user at the time of the gesture.
sourceThe InteractionSource (hand, controller, or user's voice) that initiated the tap gesture.
sourcePosePose data of the interaction source at the time of the gesture.
tapCountThe number of taps (1 for single-tap, 2 for double-tap).