Class ScrollEvent
java.lang.Object
de.ellpeck.rockbottom.api.event.Event
de.ellpeck.rockbottom.api.event.impl.ScrollEvent
This is fired when the moues wheel is scrolled either horizontally or
vertically. It gets called in the
GLFWScrollCallback that is assigned
to GLFW.glfwSetScrollCallback(long, GLFWScrollCallbackI). Cancelling
it will cause the internal scroll status not to be updated.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
window
public final long window -
xOffset
public double xOffset -
yOffset
public double yOffset
-
-
Constructor Details
-
ScrollEvent
public ScrollEvent(long window, double xOffset, double yOffset)
-