Метод | Описание | |
---|---|---|
ButtonDown ( MouseButton button ) : bool |
Check if button currently down
|
|
ButtonPressed ( MouseButton button ) : bool |
Check if button was pressed since last update
|
|
ButtonReleased ( MouseButton button ) : bool |
Check if button was released since last update
|
|
GetPosition ( int &X, int &Y ) : void |
Get the position of the mouse cursor (relative to window)
|
|
Update ( ) : void |
Update the mouse manager's inputs
|
public static ButtonDown ( MouseButton button ) : bool | ||
button | MouseButton | Button to check |
Результат | bool |
public static ButtonPressed ( MouseButton button ) : bool | ||
button | MouseButton | Button to check |
Результат | bool |
public static ButtonReleased ( MouseButton button ) : bool | ||
button | MouseButton | Button to check |
Результат | bool |
public static GetPosition ( int &X, int &Y ) : void | ||
X | int | Output X position of the cursor |
Y | int | Output Y position of the cursor |
Результат | void |