TouchManager
TouchManager
Constructors
new TouchManager()
new TouchManager(
pEventSystem
,pTarget
):TouchManager
Parameters
• pEventSystem: EventSystem
• pTarget: DisplayObject
Returns
Source
Accessors
onPinch
set
onPinch(pValue
):void
Sets the callback to be fired when a pinch is updated
Parameters
• pValue: undefined
| (pDelta
) => void
Source
onPinchEnd
set
onPinchEnd(pValue
):void
Sets the callback to be fired when a pinch ends
Parameters
• pValue: undefined
| (pDelta
) => void
Source
onPinchStart
set
onPinchStart(pValue
):void
Sets the callback to be fired when a pinch starts
Parameters
• pValue: undefined
| (pDelta
) => void
Source
onSwipe
set
onSwipe(pValue
):void
Sets the callback to be fired when a swipe is updated
Parameters
• pValue: undefined
| (pDelta
) => void
Source
onSwipeEnd
set
onSwipeEnd(pValue
):void
Sets the callback to be fired when a swipe ends
Parameters
• pValue: undefined
| (pDelta
) => void
Source
onSwipeStart
set
onSwipeStart(pValue
):void
Sets the callback to be fired when a swipe starts
Parameters
• pValue: undefined
| (pDelta
) => void
Source
pinchThreshhold
set
pinchThreshhold(pValue
):void
Sets the minimum magnitude of a pinch. Pinches smaller than this value will be ignored
Parameters
• pValue: number
Source
swipeThreshhold
set
swipeThreshhold(pValue
):void
Sets the minimum magnitude of a swipe. Swipes smaller than this value will be ignored
Parameters
• pValue: number
Source
Methods
destroy()
destroy():
void
destroy
Returns
void
Source
setCoordinateSystem()
setCoordinateSystem(
pGesture
,pCoord
):void
Sets what type of CoordinateSystem to use when determining positions for the specified Gesture
Parameters
• pGesture: GestureType
• pCoord: CoordinateSystem
Returns
void