Touch 触摸

Struct

Structure describing status of a finger touching the screen.

用来记录一个手指触摸在屏幕上的状态。

Variables变量

  • fingerId
    The unique index for touch.
          触摸的唯一索引。
  • position
    The position of the touch.
          触摸的位置。
  • deltaPosition
    The position delta since last change.
          距离上次改变的距离增量。
  • deltaTime
    Amount of time passed since last change.
          自上次改变的时间增量。
  • tapCount
    Number of taps.
          点击次数。
  • phase
    Describes the phase of the touch.
          描述触摸的相位。
,