CCActionTween
CCActionTween
Cocos2DInheritance: System.Object → Cocos2D.CCAction → Cocos2D.CCFiniteTimeAction → Cocos2D.CCActionInterval
Implements: Cocos2D.ICCCopyable
Constructors
CCActionTween(float, string, float, float)
CCActionTween(float, string, float, float)(System.Single aDuration, System.String key, System.Single from, System.Single to)
Parameters:
aDuration
(System.Single)key
(System.String)from
(System.Single)to
(System.Single)CCActionTween(float, string, float, float, Action)
CCActionTween(float, string, float, float, Action)(System.Single aDuration, System.String key, System.Single from, System.Single to, System.ActionSystem.Single,System.String tweenAction)
Parameters:
aDuration
(System.Single)key
(System.String)from
(System.Single)to
(System.Single)tweenAction
(System.ActionSystem.Single,System.String)Fields
_tweenAction(System.ActionSystem.Single,System.String)
m_fDelta(System.Single)
m_fFrom(System.Single)
m_fTo(System.Single)
m_strKey(System.String)
Methods
InitWithDuration(float, string, float, float)
System.Boolean InitWithDuration(float, string, float, float)(System.Single aDuration, System.String key, System.Single from, System.Single to)
Parameters:
aDuration
(System.Single)key
(System.String)from
(System.Single)to
(System.Single)Returns:
System.Boolean
Reverse()
Cocos2D.CCFiniteTimeAction Reverse()()
Does nothing by default.
Returns:
Cocos2D.CCFiniteTimeAction
Example
StartWithTarget(CCNode)
StartWithTarget(CCNode)(Cocos2D.CCNode target)
Parameters:
target
(Cocos2D.CCNode)Example
Update(float)
Update(float)(System.Single dt)
Parameters:
dt
(System.Single)Example