![]() |
cocos2d-iphone
1.0.1
Improved Cocos2D API Reference (iOS version) for Kobold2D developers
|
#include <CCActionCamera.h>
Public Member Functions | |
id | initWithDuration:radius:deltaRadius:angleZ:deltaAngleZ:angleX:deltaAngleX: (float t,[radius] float r,[deltaRadius] float dr,[angleZ] float z,[deltaAngleZ] float dz,[angleX] float x,[deltaAngleX] float dx) |
void | sphericalRadius:zenith:azimuth: (float *r,[zenith] float *zenith,[azimuth] float *azimuth) |
Static Public Member Functions | |
id | actionWithDuration:radius:deltaRadius:angleZ:deltaAngleZ:angleX:deltaAngleX: (float t,[radius] float r,[deltaRadius] float dr,[angleZ] float z,[deltaAngleZ] float dz,[angleX] float x,[deltaAngleX] float dx) |
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 CCOrbitCamera::actionWithDuration:radius:deltaRadius:angleZ:deltaAngleZ:angleX:deltaAngleX: | ( | float | t, |
[radius] float | r, | ||
[deltaRadius] float | dr, | ||
[angleZ] float | z, | ||
[deltaAngleZ] float | dz, | ||
[angleX] float | x, | ||
[deltaAngleX] float | dx | ||
) | [static, virtual] |
creates a CCOrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX
id CCOrbitCamera::initWithDuration:radius:deltaRadius:angleZ:deltaAngleZ:angleX:deltaAngleX: | ( | float | t, |
[radius] float | r, | ||
[deltaRadius] float | dr, | ||
[angleZ] float | z, | ||
[deltaAngleZ] float | dz, | ||
[angleX] float | x, | ||
[deltaAngleX] float | dx | ||
) | [virtual] |
initializes a CCOrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX
void CCOrbitCamera::sphericalRadius:zenith:azimuth: | ( | float * | r, |
[zenith] float * | zenith, | ||
[azimuth] float * | azimuth | ||
) | [virtual] |
positions the camera according to spherical coordinates