Add methods IsAnyKeyDown on Mouse/Gamepad class

This commit is contained in:
Ruan Lucas
2023-01-19 15:21:50 -04:00
parent 1e98fe2920
commit 8669a291fb
4 changed files with 30 additions and 0 deletions
+5
View File
@@ -64,6 +64,11 @@ public:
return _state.MousePosition;
}
/// <summary>
/// Checks if any mouse key is currently pressed.
/// </summary>
API_PROPERTY() bool IsAnyKeyDown() const;
/// <summary>
/// Gets the delta position of the mouse in the screen-space coordinates.
/// </summary>