SetScrollCallback method.
void (*invoke) (
GLFWwindow *window,
double xoffset,
double yoffset
)
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static GLFWScrollCallback | Returns: the newGLFWScrollCallbackCreates a |
| public static GLFWScrollCallback | create(GLFWScrollCallbackI instance)
Creates a |
| public static GLFWScrollCallback | |
| public GLFWScrollCallback |
| GLFWScrollCallback | back to summary |
|---|---|
| protected GLFWScrollCallback() | |
| GLFWScrollCallback | back to summary |
|---|---|
| pack-priv GLFWScrollCallback(long functionPointer) | |
| create | back to summary |
|---|---|
| public static GLFWScrollCallback create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static GLFWScrollCallback create(GLFWScrollCallbackI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static GLFWScrollCallback createSafe(long functionPointer) Like
| |
| set | back to summary |
|---|---|
| public GLFWScrollCallback set(long window) See | |
| Modifier and Type | Field and Description |
|---|---|
| private final GLFWScrollCallbackI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | invoke(long
the window that received the event window, double the scroll offset along the x-axis xoffset, double the scroll offset along the y-axis yoffset)Implements org. |
| delegate | back to summary |
|---|---|
| private final GLFWScrollCallbackI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, GLFWScrollCallbackI delegate) | |
| invoke | back to summary |
|---|---|
| public void invoke(long window, double xoffset, double yoffset) Implements org. Doc from org. Will be called when a scrolling device is used, such as a mouse wheel or scrolling area of a touchpad.
| |