CCTouch
CCTouch
Cocos2DInheritance: System.Object
Constructors
CCTouch()
CCTouch()()
CCTouch(int, float, float)
CCTouch(int, float, float)(System.Int32 id, System.Single x, System.Single y)
Parameters:
id
(System.Int32)x
(System.Single)y
(System.Single)Properties
Delta(Cocos2D.CCPoint)
Returns the difference, in GL coordinate space, of the last location and this current location.
Id(System.Int32)
Location(Cocos2D.CCPoint)
Returns the location of the touch point in GL coordinates using ConvertToGl in CCDirector.
LocationInView(Cocos2D.CCPoint)
PreviousLocation(Cocos2D.CCPoint)
Returns the previous location of the touch point in GL coordinates using ConvertToGl in CCDirector.
PreviousLocationInView(Cocos2D.CCPoint)
StartLocation(Cocos2D.CCPoint)
StartLocationInView(Cocos2D.CCPoint)
Methods
SetTouchInfo(int, float, float)
SetTouchInfo(int, float, float)(System.Int32 id, System.Single x, System.Single y)
Parameters:
id
(System.Int32)x
(System.Single)y
(System.Single)