Atlantis.Mouse Class
The Mouse class is responsible to manage mouse events.
Constructor
Atlantis.Mouse
(
-
domElement
Parameters:
-
domElement
HTMLElementThe DOM element to use (default is document.body).
Item Index
Methods
Methods
getState
()
Atlantis.MouseState
Gets the state of the mouse.
Returns:
Atlantis.MouseState:
Return the state of the mouse at this time.