returns the current touch location in OpenGL coordinates
Class CCTouch
#include <Geode/cocos/touch_dispatcher/CCTouch.h>
classCCTouch:publiccocos2d::CCObject{ ... }
No description provided
Examples0
Public static methods0
Public member functions9
cocos2d::CCPointgetLocation()const
cocos2d::CCPointgetPreviousLocation()const
returns the previous touch location in OpenGL coordinates
cocos2d::CCPointgetStartLocation()const
returns the start touch location in OpenGL coordinates
cocos2d::CCPointgetDelta()const
returns the delta of 2 current touches locations in screen coordinates
cocos2d::CCPointgetLocationInView()const
returns the current touch location in screen coordinates
cocos2d::CCPointgetPreviousLocationInView()const
returns the previous touch location in screen coordinates
cocos2d::CCPointgetStartLocationInView()const
returns the start touch location in screen coordinates
intgetID()const
No description provided
Fields5
intm_nId;
No description provided
boolm_startPointCaptured;
No description provided
cocos2d::CCPointm_startPoint;
No description provided
cocos2d::CCPointm_point;
No description provided
cocos2d::CCPointm_prevPoint;
No description provided