IMouseInput Interface |
Namespace: GeonBit.UI
public interface IMouseInput
The IMouseInput type exposes the following members.
Name | Description | |
---|---|---|
MousePosition |
Get current mouse poisition.
| |
MousePositionDiff |
Get mouse position change since last frame.
| |
MouseWheel |
Current mouse wheel value.
| |
MouseWheelChange |
Mouse wheel change sign (eg 0, 1 or -1) since last frame.
|
Name | Description | |
---|---|---|
AnyMouseButtonClicked |
Return if any of mouse buttons was clicked this frame.
| |
AnyMouseButtonDown |
Return if any of mouse buttons is down.
| |
AnyMouseButtonPressed |
Return if any mouse button was pressed in current frame.
| |
AnyMouseButtonReleased |
Return if any mouse button was released this frame.
| |
MouseButtonClick |
Check if a given mouse button was just clicked (eg released after being pressed down)
| |
MouseButtonDown |
Check if a given mouse button is down.
| |
MouseButtonPressed |
Check if a given mouse button was pressed in current frame.
| |
MouseButtonReleased |
Check if a given mouse button was released in current frame.
| |
TransformMousePosition |
Calculate and return current cursor position transformed by a matrix.
| |
Update |
Update input (called every frame).
| |
UpdateMousePosition |
Move the cursor to be at the center of the screen.
|