ISTouch Class Reference

Inherits from NSObject
Declared in ISTouch.h

Overview

Class used to store iOS touch information such as UIEvent and relative CCLayer.

  touches

An array which contains all touches.

@property (nonatomic, readonly) NSArray *touches

Declared In

ISTouch.h

  originalTouches

An array which contains all original touches (whithout transformation like rotation or tilt).

@property (nonatomic, readonly) NSArray *originalTouches

Declared In

ISTouch.h

  event

Relative UIEvent.

@property (nonatomic, readonly) UIEvent *event

Declared In

ISTouch.h

  firstPoint

First (finger) touch point.

@property (nonatomic, readonly) CGPoint firstPoint

Declared In

ISTouch.h

  secondPoint

Second (finger) touch point.

@property (nonatomic, readonly) CGPoint secondPoint

Declared In

ISTouch.h

  firstOriginalPoint

First (finger) touch point.

@property (nonatomic, readonly) CGPoint firstOriginalPoint

Declared In

ISTouch.h

  secondOriginalPoint

Second (finger) touch point.

@property (nonatomic, readonly) CGPoint secondOriginalPoint

Declared In

ISTouch.h

  firstRay

First (finger) touch ray.

@property (nonatomic, readonly) NSValue *firstRay

Declared In

ISTouch.h

  secondRay

Second (finger) touch ray.

@property (nonatomic, readonly) NSValue *secondRay

Declared In

ISTouch.h

  firstVector

First (finger) touch ray.

@property (nonatomic, readonly) NSValue *firstVector

Declared In

ISTouch.h

  secondVector

Second (finger) touch ray.

@property (nonatomic, readonly) NSValue *secondVector

Declared In

ISTouch.h

  layer

Relative touched CCLayer.

@property (weak) CCLayer *layer

Declared In

ISTouch.h

  touchRays

All 3D touch rays.

@property (nonatomic, readonly) NSArray *touchRays

Declared In

ISTouch.h

  vectors

All 3D touch vectors.

@property (nonatomic, readonly) NSArray *vectors

Declared In

ISTouch.h

– rotateWithAngle:andCenter:

Method called to rotate all touch information.

- (ISTouch *)rotateWithAngle:(float)angle andCenter:(CGPoint)center

Parameters

angle

Angle to use to rotate.

center

Relative rotation center.

Declared In

ISTouch.h