Class CursorPosEvent
java.lang.Object
de.ellpeck.rockbottom.api.event.Event
de.ellpeck.rockbottom.api.event.impl.CursorPosEvent
This event is fired when the cursor is being moved. It gets fired in the
GLFWCursorPosCallback that is assigned to GLFW.glfwSetCursorPosCallback(long, GLFWCursorPosCallbackI). Cancelling it
will cause the internal mouse position to not be updated.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
window
public final long window -
x
public double x -
y
public double y
-
-
Constructor Details
-
CursorPosEvent
public CursorPosEvent(long window, double x, double y)
-