CCOrbitCamera action Orbits the camera around the center of the screen using spherical coordinates
Class CCOrbitCamera
#include <Geode/cocos/actions/CCActionCamera.h>
classCCOrbitCamera:publiccocos2d::CCActionCamera{ ... }
Examples0
Public static methods1
Public member functions5
boolinitWithDuration(,floatradius,floatdeltaRadius,floatangleZ,floatdeltaAngleZ,floatangleX,floatdeltaAngleX)
initializes a CCOrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX
voidsphericalRadius(,float*zenith,float*azimuth)
positions the camera according to spherical coordinates
virtualcocos2d::CCObject*copyWithZone(cocos2d::CCZone*pZone)
No description provided
virtualvoidstartWithTarget(cocos2d::CCNode*pTarget)
No description provided
Fields10
floatm_fRadius;
No description provided
floatm_fDeltaRadius;
No description provided
floatm_fAngleZ;
No description provided
floatm_fDeltaAngleZ;
No description provided
floatm_fAngleX;
No description provided
floatm_fDeltaAngleX;
No description provided
floatm_fRadZ;
No description provided
floatm_fRadDeltaZ;
No description provided
floatm_fRadX;
No description provided
floatm_fRadDeltaX;
No description provided