|
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCActionCamera.h>
Inheritance diagram for CCOrbitCamera:
Collaboration diagram for CCOrbitCamera:Public Member Functions | |
| (id) | - initWithDuration:radius:deltaRadius:angleZ:deltaAngleZ:angleX:deltaAngleX: |
| (void) | - sphericalRadius:zenith:azimuth: |
Static Public Member Functions | |
| (id) | + actionWithDuration:radius:deltaRadius:angleZ:deltaAngleZ:angleX:deltaAngleX: |
Protected Attributes | |
| float | _radius |
| float | _deltaRadius |
| float | _angleZ |
| float | _deltaAngleZ |
| float | _angleX |
| float | _deltaAngleX |
| float | _radZ |
| float | _radDeltaZ |
| float | _radX |
| float | _radDeltaX |
CCOrbitCamera action Orbits the camera around the center of the screen using spherical coordinates
| + (id) actionWithDuration: | (float) | t | |
| radius: | (float) | r | |
| deltaRadius: | (float) | dr | |
| angleZ: | (float) | z | |
| deltaAngleZ: | (float) | dz | |
| angleX: | (float) | x | |
| deltaAngleX: | (float) | dx | |
creates 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 | |
initializes a CCOrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX
| - (void) sphericalRadius: | (float *) | r | |
| zenith: | (float *) | zenith | |
| azimuth: | (float *) | azimuth | |
positions the camera according to spherical coordinates