Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

TappedEventArgs

struct in UnityEngine.XR.WSA.Input

/

Implemented in:UnityEngine.VRModule

Description

Contains fields that are relevant when a tap gesture occurs.

To receive this information, you should register with Tapped.

Properties

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).
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答