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

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)dx

Declared In

CCActionCamera.h

Instance 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)dx

Declared In

CCActionCamera.h

sphericalRadius:zenith:azimuth:

positions the camera according to spherical coordinates

- (void)sphericalRadius:(float *)r zenith:(float *)zenith azimuth:(float *)azimuth

Declared In

CCActionCamera.h