CCOrbitCamera
CCOrbitCamera
Cocos2DInheritance: 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)Parameters:
zone (Cocos2D.ICCCopyable)Returns:
System.ObjectExample
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