KKHitTest Class Reference
| Inherits from | NSObject |
| Declared in | KKHitTest.h |
Tasks
-
isHitTestingEnables hit testing for the Cocos2D OpenGL view. If enabled, all nodes in the scene hierarchy are tested for a hit every time a touch began or mouse down event is received. The hit test is performed via [node containsPoint:location]. If a node is “hit”, then the touch/click is processed by the Cocos2D OpenGL view. Otherwise it is passed on to underlying views.
property -
+ sharedHitTestreturns the singleton instance
Properties
isHitTesting
Enables hit testing for the Cocos2D OpenGL view. If enabled, all nodes in the scene hierarchy are tested for a hit every time a touch began or mouse down event is received. The hit test is performed via [node containsPoint:location]. If a node is “hit”, then the touch/click is processed by the Cocos2D OpenGL view. Otherwise it is passed on to underlying views.
@property (nonatomic) BOOL isHitTestingDeclared In
KKHitTest.h