Package jgl.wt.awt.listener.callbacks
Interface MotionCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
-
Method Details
-
onMotion
Set the motion callback for the current window (mouse movement within window while one or more mouse buttons are pressed) void glutMotionFunc (void (*func)(int x, int y))- Parameters:
target
- Rendering target componentx
- Window relative coordinate x of mouse when event has occurredy
- Window relative coordinate y of mouse when event has occurred
-