Package com.jme3.input.event
Class MouseMotionEvent
java.lang.Object
com.jme3.input.event.InputEvent
com.jme3.input.event.MouseMotionEvent
Mouse movement event.
 
Movement events are only generated if the mouse is on-screen.
- 
Field Summary
Fields inherited from class com.jme3.input.event.InputEvent
consumed, time - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class com.jme3.input.event.InputEvent
getTime, isConsumed, setConsumed, setTime 
- 
Constructor Details
- 
MouseMotionEvent
public MouseMotionEvent(int x, int y, int dx, int dy, int wheel, int deltaWheel)  
 - 
 - 
Method Details
- 
getDeltaWheel
public int getDeltaWheel()The change in wheel rotation.- Returns:
 - change in wheel rotation.
 
 - 
getDX
public int getDX()The change in X coordinate- Returns:
 - change in X coordinate
 
 - 
getDY
public int getDY()The change in Y coordinate- Returns:
 - change in Y coordinate
 
 - 
getWheel
public int getWheel()Current mouse wheel value- Returns:
 - Current mouse wheel value
 
 - 
getX
public int getX()Current X coordinate- Returns:
 - Current X coordinate
 
 - 
getY
public int getY()Current Y coordinate- Returns:
 - Current Y coordinate
 
 - 
toString
 
 -