Interface over keyboard modifier to query which key is pressed. More...
#include <ViewportTypes.h>
Public Member Functions | |
| KeyboardModifiers (const AZ::u32 keyModifiers) | |
| Explicit constructor to create a KeyboardModifier struct. | |
| bool | Alt () const |
| Given the current keyboard modifiers, is the Alt key held. | |
| bool | Shift () const |
| Given the current keyboard modifiers, is the Shift key held. | |
| bool | Ctrl () const |
| Given the current keyboard modifiers, is the Ctrl key held. | |
| bool | None () const |
| Given the current keyboard modifiers, are none being held. | |
| bool | IsHeld (KeyboardModifier keyboardModifier) const |
| Given the current keyboard modifiers, is the specified modifier held. | |
| bool | operator== (const KeyboardModifiers &keyboardModifiers) const |
| bool | operator!= (const KeyboardModifiers &keyboardModifiers) const |
Public Attributes | |
| AZ::u32 | m_keyModifiers = 0 |
| Raw keyboard modifier state. | |
Interface over keyboard modifier to query which key is pressed.