Skip to main content

CCEaseRateAction

CCEaseRateAction

Cocos2D

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

Implements: Cocos2D.ICCCopyable

Constructors

CCEaseRateAction(CCActionInterval, float)

CCEaseRateAction(CCActionInterval, float)(Cocos2D.CCActionInterval pAction, System.Single fRate)
Parameters:
pAction (Cocos2D.CCActionInterval)
fRate (System.Single)

CCEaseRateAction(CCEaseRateAction)

CCEaseRateAction(CCEaseRateAction)(Cocos2D.CCEaseRateAction easeRateAction)
Parameters:
easeRateAction (Cocos2D.CCEaseRateAction)

CCEaseRateAction(CCFiniteTimeAction, float)

CCEaseRateAction(CCFiniteTimeAction, float)(Cocos2D.CCFiniteTimeAction pAction, System.Single fRate)
Parameters:
pAction (Cocos2D.CCFiniteTimeAction)
fRate (System.Single)

Fields

m_fRate(System.Single)

Properties

Rate(System.Single)

Methods

Copy(ICCCopyable)

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

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:
pZone (Cocos2D.ICCCopyable)
Returns:
System.Object
Example

InitWithAction(CCActionInterval, float)

System.Boolean InitWithAction(CCActionInterval, float)(Cocos2D.CCActionInterval pAction, System.Single fRate)
Parameters:
pAction (Cocos2D.CCActionInterval)
fRate (System.Single)
Returns:
System.Boolean

Reverse()

Cocos2D.CCFiniteTimeAction Reverse()()

Does nothing by default.

Returns:
Cocos2D.CCFiniteTimeAction
Example