|
Cogs.Foundation
|
#include <Gestures.h>
Public Types | |
| enum | Direction { Left , Right , Up , Down } |
Public Attributes | |
| MouseButton | button |
| Button that was tapped. | |
| Direction | direction |
| Swipe general direction. | |
| glm::vec2 | startCoord = {} |
| Pointer position when the gesture has started. | |
| float | velocity |
| Pointer velocity relative to startCoord. | |
| MouseButton Cogs::Gesture::Swipe::button |
Button that was tapped.
Referenced by Cogs::Gestures::pointerUp().
| Direction Cogs::Gesture::Swipe::direction |
Swipe general direction.
Referenced by Cogs::Gestures::pointerUp().
| glm::vec2 Cogs::Gesture::Swipe::startCoord = {} |
Pointer position when the gesture has started.
Referenced by Cogs::Gestures::pointerUp().
| float Cogs::Gesture::Swipe::velocity |
Pointer velocity relative to startCoord.
Referenced by Cogs::Gestures::pointerUp().