CCOrbitCamera Class Reference
| Inherits from | CCActionCamera : CCActionInterval : CCFiniteTimeAction : CCAction : NSObject |
| Conforms to | NSCopying |
| Declared in | CCActionCamera.h CCCameraAction.h |
Overview
CCOrbitCamera action Orbits the camera around the center of the screen using spherical coordinates
Tasks
-
+ actionWithDuration:radius:deltaRadius:angleZ:deltaAngleZ:angleX:deltaAngleX:creates a CCOrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX
-
– initWithDuration:radius:deltaRadius:angleZ:deltaAngleZ:angleX:deltaAngleX:initializes a CCOrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX
-
– sphericalRadius:zenith:azimuth:positions the camera according to spherical coordinates
Class Methods
actionWithDuration:radius:deltaRadius:angleZ:deltaAngleZ:angleX:deltaAngleX:
creates a CCOrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX
+ (id)actionWithDuration:(float)t radius:(float)r deltaRadius:(float)dr angleZ:(float)z deltaAngleZ:(float)dz angleX:(float)x deltaAngleX:(float)dxDeclared In
CCActionCamera.hInstance Methods
initWithDuration:radius:deltaRadius:angleZ:deltaAngleZ:angleX:deltaAngleX:
initializes a CCOrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX
- (id)initWithDuration:(float)t radius:(float)r deltaRadius:(float)dr angleZ:(float)z deltaAngleZ:(float)dz angleX:(float)x deltaAngleX:(float)dxDeclared In
CCActionCamera.h