Gesture recognition result. More...
#include <touch_input.h>
Public Attributes | |
| TouchGesture | gesture = TouchGesture::kNone |
| TouchPhase | phase = TouchPhase::kBegan |
| ImVec2 | position = ImVec2(0, 0) |
| ImVec2 | start_position = ImVec2(0, 0) |
| ImVec2 | translation = ImVec2(0, 0) |
| ImVec2 | velocity = ImVec2(0, 0) |
| float | scale = 1.0f |
| float | scale_delta = 0.0f |
| float | rotation = 0.0f |
| float | rotation_delta = 0.0f |
| int | touch_count = 0 |
| double | duration = 0.0 |
Gesture recognition result.
Definition at line 52 of file touch_input.h.
| TouchGesture yaze::gui::GestureState::gesture = TouchGesture::kNone |
Definition at line 53 of file touch_input.h.
Referenced by yaze::gui::CanvasTouchHandler::ProcessGesture(), and yaze::gui::TouchInput::Update().
| TouchPhase yaze::gui::GestureState::phase = TouchPhase::kBegan |
Definition at line 54 of file touch_input.h.
Referenced by yaze::gui::CanvasTouchHandler::ProcessGesture().
| ImVec2 yaze::gui::GestureState::position = ImVec2(0, 0) |
Definition at line 57 of file touch_input.h.
Referenced by yaze::gui::CanvasTouchHandler::ProcessGesture().
| ImVec2 yaze::gui::GestureState::start_position = ImVec2(0, 0) |
Definition at line 58 of file touch_input.h.
| ImVec2 yaze::gui::GestureState::translation = ImVec2(0, 0) |
Definition at line 59 of file touch_input.h.
| ImVec2 yaze::gui::GestureState::velocity = ImVec2(0, 0) |
Definition at line 60 of file touch_input.h.
Referenced by yaze::gui::CanvasTouchHandler::ProcessGesture().
| float yaze::gui::GestureState::scale = 1.0f |
Definition at line 63 of file touch_input.h.
| float yaze::gui::GestureState::scale_delta = 0.0f |
Definition at line 64 of file touch_input.h.
| float yaze::gui::GestureState::rotation = 0.0f |
Definition at line 65 of file touch_input.h.
| float yaze::gui::GestureState::rotation_delta = 0.0f |
Definition at line 66 of file touch_input.h.
| int yaze::gui::GestureState::touch_count = 0 |
Definition at line 69 of file touch_input.h.
| double yaze::gui::GestureState::duration = 0.0 |
Definition at line 72 of file touch_input.h.