public class Lwjgl3CustomCursor extends LibgdxCustomCursor
downPixmap, emptyPixmap, upPixmap, visible, xHotspot, yHotspot| Constructor and Description |
|---|
Lwjgl3CustomCursor(Pixmap upPixmap,
Pixmap downPixmap,
int xHotspot,
int yHotspot)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
updateCursorVisibility() |
keyDown, keyTyped, keyUp, mouseMoved, scrolled, touchDown, touchDragged, touchUpgetDownPixmap, getEmptyPixmap, getUpPixmap, getxHotspot, getyHotspot, isVisible, setVisiblepublic Lwjgl3CustomCursor(Pixmap upPixmap, Pixmap downPixmap, int xHotspot, int yHotspot)
upPixmap - The image to use in the mouse button up statedownPixmap - The image to use in the mouse button down statexHotspot - The x location of the hotspot pixel within the cursor image (origin top-left corner)yHotspot - The y location of the hotspot pixel within the cursor image (origin top-left corner)protected void updateCursorVisibility()
updateCursorVisibility in class LibgdxCustomCursor