observePinch
Functions
- forEachTouch(touchList, callback)
- observePinch(touchStart, touchEnd, touchMove, pinch, pinchStart, pinchEnd, device)
forEachTouch(touchList, callback)
Kind: global function
Param | Type |
---|---|
touchList | TouchList |
callback | function |
observePinch(touchStart, touchEnd, touchMove, pinch, pinchStart, pinchEnd, device)
Kind: global function
Param | Type |
---|---|
touchStart | Signal |
touchEnd | Signal |
touchMove | Signal |
pinch | Signal |
pinchStart | Signal |
pinchEnd | Signal |
device | PointerDevice |
observePinch~computeTouchRadius(touchList, pinchDimensions)
Kind: inner method of observePinch
Param | Type |
---|---|
touchList | TouchList |
pinchDimensions | Vector2 |
observePinch~handlePinchEnd(event)
Kind: inner method of observePinch
Param | Type |
---|---|
event | TouchEvent |