Wrapper class that stores either mouse button index or finger index.
#include <AUI/Event/APointerIndex.h>
> All members, including inherited
◆ button()
AOptional< AInput::Key > APointerIndex::button |
( |
| ) |
const |
|
inlinenoexcept |
◆ finger()
AOptional< int > APointerIndex::finger |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- finger index, if it is.
◆ isButton()
bool APointerIndex::isButton |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
- Returns
- true if (mouse) button.
◆ isFinger()
bool APointerIndex::isFinger |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
- Returns
- true if finger index.