![]() |
AppEasy Core SDK
1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
|
Represents a single touch. More...
#include <CzInput.h>
Public Member Functions | |
CzTouch () | |
Public Attributes | |
int | x |
int | y |
Touch position. | |
int | px |
int | py |
Previous touch position. | |
int | dx |
int | dy |
Delta position. | |
bool | touched |
Touched state. | |
bool | active |
Touch active state. | |
bool | prev_active |
Touch active state (last frame) | |
int | id |
ID of touch - The system tracks multiple touches by assigning each one a unique ID. |
Represents a single touch.
CzTouch::CzTouch | ( | ) | [inline] |
bool CzTouch::active |
Touch active state.
int CzTouch::dx |
int CzTouch::dy |
Delta position.
int CzTouch::id |
ID of touch - The system tracks multiple touches by assigning each one a unique ID.
bool CzTouch::prev_active |
Touch active state (last frame)
int CzTouch::px |
int CzTouch::py |
Previous touch position.
bool CzTouch::touched |
Touched state.
int CzTouch::x |
int CzTouch::y |
Touch position.