Interface over mouse buttons to query which button is pressed.
More...
#include <ViewportTypes.h>
|
| MouseButtons (const AZ::u32 mouseButtons) |
| Explicit constructor to create a MouseButton struct.
|
|
bool | Left () const |
| Given the current mouse state, is the left mouse button held.
|
|
bool | Middle () const |
| Given the current mouse state, is the middle mouse button held.
|
|
bool | Right () const |
| Given the current mouse state, is the right mouse button held.
|
|
bool | None () const |
| Given the current mouse state, are no mouse buttons held.
|
|
bool | Any () const |
| Given the current mouse state, are any mouse buttons held.
|
|
|
AZ::u32 | m_mouseButtons = 0 |
| Current mouse button state (flags).
|
|
Interface over mouse buttons to query which button is pressed.
The documentation for this struct was generated from the following file:
- Code/Framework/AzToolsFramework/AzToolsFramework/Viewport/ViewportTypes.h