Skip to main content

CCScaleTo

CCScaleTo

Cocos2D

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

Implements: Cocos2D.ICCCopyable

Constructors

CCScaleTo(CCScaleTo)

CCScaleTo(CCScaleTo)(Cocos2D.CCScaleTo copy)
Parameters:
copy (Cocos2D.CCScaleTo)

CCScaleTo(float, float)

CCScaleTo(float, float)(System.Single duration, System.Single s)
Parameters:
duration (System.Single)
s (System.Single)

CCScaleTo(float, float, float)

CCScaleTo(float, float, float)(System.Single duration, System.Single sx, System.Single sy)
Parameters:
duration (System.Single)
sx (System.Single)
sy (System.Single)

Fields

m_fDeltaX(System.Single)
m_fDeltaY(System.Single)
m_fEndScaleX(System.Single)
m_fEndScaleY(System.Single)
m_fScaleX(System.Single)
m_fScaleY(System.Single)
m_fStartScaleX(System.Single)
m_fStartScaleY(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

StartWithTarget(CCNode)

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

Update(float)

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