Class CCOrbitCamera

#include <Geode/cocos/actions/CCActionCamera.h>
classCCOrbitCamera:publiccocos2d::CCActionCamera{ ... }

CCOrbitCamera action Orbits the camera around the center of the screen using spherical coordinates

Examples0
Public static methods1
staticcocos2d::CCOrbitCamera*create(,
floatradius
,
floatdeltaRadius
,
floatangleZ
,
floatdeltaAngleZ
,
floatangleX
,
floatdeltaAngleX
)

creates a CCOrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX

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()
No description provided
virtualvoidstartWithTarget()
No description provided
virtualvoidupdate(
floattime
)
No description provided
Fields0
Protected member functions0
Protected 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