| 1028 | } |
| 1029 | |
| 1030 | bool Widget::hitTest(const Vec2& pt, const Camera* camera, Vec3* p) const |
| 1031 | { |
| 1032 | Rect rect; |
| 1033 | rect.size = getContentSize(); |
| 1034 | return isScreenPointInRect(pt, camera, getWorldToNodeTransform(), rect, p); |
| 1035 | } |
| 1036 | |
| 1037 | bool Widget::isClippingParentContainsPoint(const Vec2& pt) |
| 1038 | { |
no test coverage detected