_CBLeapMotionSwipeGesture
Define the callback called on a Swipe gesture.
Prototype :
fun [ObjLeapMotion fun [ObjLeapMotion u0 I I I [F F F] F F] u1 u0] ObjLeapMotion
- ObjLeapMotion : a Leapmotion Scol object
- fun [ObjLeapMotion u0 I I I [F F F] F F] u1 : the callback. The supplemental arguments are :
- I : state, 1 start, 2 progress, 3 end
- I : hand
- I : finger or tool id
- [F F F] : direction
- F : speed in millimeter per second
- F : progress, duration in second
- u0 : an user parameter
Return : ObjLeapMotion the same Scol object or NIL if an error occurs.
See also :
Example :
Note :