new InteractionManager(stage)
The interaction manager deals with mouse and touch events. Any DisplayObject can be interactive if its interactive parameter is set to true This manager also supports multitouch.
Parameters:
Name | Type | Description |
---|---|---|
stage |
PIXI.Stage | The stage to handle interactions |
- Source - pixi/InteractionManager.js, line 5
Members
-
currentCursorStyle :String
-
The css style of the cursor that is being used
- Source - pixi/InteractionManager.js, line 128
-
last :Number
-
- Source - pixi/InteractionManager.js, line 122
-
mouse :PIXI.InteractionData
-
The mouse data
- Source - pixi/InteractionManager.js, line 24
-
mouseOut :Boolean
-
Is set to true when the mouse is moved out of the canvas
- Source - pixi/InteractionManager.js, line 135
-
mouseoverEnabled :Boolean
-
- Source - pixi/InteractionManager.js, line 47
-
onMouseDown :function
-
- Source - pixi/InteractionManager.js, line 86
-
onMouseMove :function
-
- Source - pixi/InteractionManager.js, line 80
-
onMouseOut :function
-
- Source - pixi/InteractionManager.js, line 92
-
onMouseUp :function
-
- Source - pixi/InteractionManager.js, line 98
-
onTouchEnd :function
-
- Source - pixi/InteractionManager.js, line 110
-
onTouchMove :function
-
- Source - pixi/InteractionManager.js, line 116
-
onTouchStart :function
-
- Source - pixi/InteractionManager.js, line 104
-
pool :Array
-
Tiny little interactiveData pool !
- Source - pixi/InteractionManager.js, line 54
-
resolution :Number
-
- Source - pixi/InteractionManager.js, line 142
-
stage :PIXI.Stage
-
A reference to the stage
- Source - pixi/InteractionManager.js, line 16
-
touches :Object
-
An object that stores current touches (InteractionData) by id reference
- Source - pixi/InteractionManager.js, line 32