Skip to main content

CCOrbitCamera

CCOrbitCamera

Cocos2D

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

Inheritance: System.Object → Cocos2D.CCAction → Cocos2D.CCFiniteTimeAction → Cocos2D.CCActionInterval → Cocos2D.CCActionCamera

Implements: Cocos2D.ICCCopyable

Constructors

CCOrbitCamera()

CCOrbitCamera()()

CCOrbitCamera(CCOrbitCamera)

CCOrbitCamera(CCOrbitCamera)(Cocos2D.CCOrbitCamera copy)
Parameters:
copy (Cocos2D.CCOrbitCamera)

CCOrbitCamera(float, float, float, float, float, float, float)

CCOrbitCamera(float, float, float, float, float, float, float)(System.Single t, System.Single radius, System.Single deltaRadius, System.Single angleZ, System.Single deltaAngleZ, System.Single angleX, System.Single deltaAngleX)
Parameters:
t (System.Single)
radius (System.Single)
deltaRadius (System.Single)
angleZ (System.Single)
deltaAngleZ (System.Single)
angleX (System.Single)
deltaAngleX (System.Single)

Fields

m_fAngleX(System.Single)
m_fAngleZ(System.Single)
m_fDeltaAngleX(System.Single)
m_fDeltaAngleZ(System.Single)
m_fDeltaRadius(System.Single)
m_fRadDeltaX(System.Single)
m_fRadDeltaZ(System.Single)
m_fRadX(System.Single)
m_fRadZ(System.Single)
m_fRadius(System.Single)

Methods

Copy(ICCCopyable)

System.Object Copy(ICCCopyable)(Cocos2D.ICCCopyable zone)

Copy/Duplicatae protocol for making a self copy of this object instance. If null is given as the parameter then selfie of this instance is returned. Otherwise, the state of this instance is copied to the given target.

Parameters:
zone (Cocos2D.ICCCopyable)
Returns:
System.Object
Example

SphericalRadius(out float, out float, out float)

SphericalRadius(out float, out float, out float)(System.Single newRadius, System.Single zenith, System.Single azimuth)
Parameters:
newRadius (System.Single)
zenith (System.Single)
azimuth (System.Single)

StartWithTarget(CCNode)

StartWithTarget(CCNode)(Cocos2D.CCNode target)
Parameters:
target (Cocos2D.CCNode)
Example

Update(float)

Update(float)(System.Single time)
Parameters:
time (System.Single)
Example