
Public Member Functions | |
| void | OnMouse (vtMouseEvent &event) |
| Virtual handler, to catch mouse events, can be overridden by your engine class. | |
| void | GetNormalizedMouseCoords (float &mx, float &my) |
Public Attributes | |
| int | m_buttons |
| IPoint2 | m_pos |
| int | m_flags |
|
||||||||||||
|
Returns the mouse coordinates in the window, normalized such that X and Y range from -1 to 1 (left to right, top to bottom across the window. |
|
|
The state of the mouse buttons |
|
|
Last known state of the modifier flags |
|
|
The location of the mouse cursor |
1.4.5