You.i Engine
YiGestureEvent.h
Go to the documentation of this file.
1 #ifndef _YI_GESTURE_EVENT_H_
2 #define _YI_GESTURE_EVENT_H_
3 
4 #include "event/YiActionEvent.h"
5 #include "event/YiRay.h"
6 
29 {
30 public:
31  enum class State
32  {
33  Began,
34  Changed,
35  Ended
36  };
37 
39  CYIGestureEvent(const CYIGestureEvent &other) = default;
40 
41  virtual std::unique_ptr<CYIEvent> Clone() const;
42 
45 };
48 #endif
State
Definition: YiGestureEvent.h:31
virtual std::unique_ptr< CYIEvent > Clone() const
CYIGestureEvent(CYIEvent::Type eventType)
Gesture related events.
Definition: YiGestureEvent.h:28
uint32_t m_numberOfFingers
Definition: YiGestureEvent.h:44
State m_state
Definition: YiGestureEvent.h:43
Stores data related to a user Action event.
Definition: YiActionEvent.h:18
Type
The event type of the CYIEvent class instance.
Definition: YiEvent.h:33