Wiki

Case Status
Log In

Wiki

 
Home ยป Add-ons»Input.touches Custom Actions»Input Touches Get Swipe Info
Index
Navigation
Community Wiki

Input Touches Get Swipe Info

Get the last swipe event info

Start Point
the screen position of the cursor when the swipe event start
End Point
the screen position of the cursor when the swipe event end
Direction
the direction vector of the swipe
Angle
the angle of the swipe on screen. Start from +ve x-axis in counter-clockwise direction
Duration
the duration taken for the swipe
Speed
the relative speed of the swipe
Is Mouse
boolean flag indicate if the input type is a mouse input.
Index
unique index indicate which touch/mouse input trigger the event. This is so an event by a particular touch can be keep tracked when there are multiple event on screen.

 


Last modified on 1/8/2013 4:00 PM by User.

  • RSS Feed