|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MouseInput
A specific API for interfacing with the mouse.
Field Summary | |
---|---|
static int |
AXIS_WHEEL
Mouse wheel axis. |
static int |
AXIS_X
Mouse X axis. |
static int |
AXIS_Y
Mouse Y axis. |
static int |
BUTTON_LEFT
Left mouse button. |
static int |
BUTTON_MIDDLE
Middle mouse button. |
static int |
BUTTON_RIGHT
Right mouse button. |
Method Summary | |
---|---|
int |
getButtonCount()
Returns the number of buttons the mouse has. |
void |
setCursorVisible(boolean visible)
Set whether the mouse cursor should be visible or not. |
void |
setNativeCursor(JmeCursor cursor)
Sets the cursor to use. |
Methods inherited from interface com.jme3.input.Input |
---|
destroy, getInputTimeNanos, initialize, isInitialized, setInputListener, update |
Field Detail |
---|
static final int AXIS_X
static final int AXIS_Y
static final int AXIS_WHEEL
static final int BUTTON_LEFT
static final int BUTTON_RIGHT
static final int BUTTON_MIDDLE
Method Detail |
---|
void setCursorVisible(boolean visible)
visible
- Whether the mouse cursor should be visible or not.int getButtonCount()
void setNativeCursor(JmeCursor cursor)
cursor
- The cursor to use.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |