|
| static Vector2 | GetDelta () |
| | Get mouse delta between frames.
|
| |
| static Vector2 | GetPosition () |
| |
| static Ray | GetRay (::Vector2 mousePosition, const ::Camera &camera) |
| | Get a ray trace from mouse position.
|
| |
| static Ray | GetRay (const ::Camera &camera) |
| | Get a ray trace from mouse position.
|
| |
| static Vector2 | GetTouchPosition (int index) |
| | Get touch position XY for a touch point index (relative to screen size)
|
| |
| static int | GetTouchX () |
| | Get touch position X for touch point 0 (relative to screen size)
|
| |
| static int | GetTouchY () |
| | Get touch position Y for touch point 0 (relative to screen size)
|
| |
| static float | GetWheelMove () |
| | Get mouse wheel movement for X or Y, whichever is larger.
|
| |
| static Vector2 | GetWheelMoveV () |
| | Get mouse wheel movement for both X and Y.
|
| |
| static int | GetX () |
| |
| static int | GetY () |
| |
| static bool | IsButtonDown (int button) |
| | Detect if a mouse button is being pressed.
|
| |
| static bool | IsButtonPressed (int button) |
| | Detect if a mouse button has been pressed once.
|
| |
| static bool | IsButtonReleased (int button) |
| | Detect if a mouse button has been released once.
|
| |
| static bool | IsButtonUp (int button) |
| |
| static void | SetCursor (int cursor=MOUSE_CURSOR_DEFAULT) |
| | Sets the current mouse cursor icon.
|
| |
| static void | SetOffset (::Vector2 offset) |
| |
| static void | SetOffset (int offsetX=0, int offsetY=0) |
| |
| static void | SetPosition (::Vector2 position) |
| |
| static void | SetPosition (int x, int y) |
| |
| static void | SetScale (::Vector2 scale) |
| |
| static void | SetScale (float scaleX=1.0f, float scaleY=1.0f) |
| |
| static void | SetX (int x) |
| |
| static void | SetY (int y) |
| |
Input-related functions: mouse.