CCBezierBy
CCBezierBy
Cocos2DInheritance: System.Object → Cocos2D.CCAction → Cocos2D.CCFiniteTimeAction → Cocos2D.CCActionInterval
Implements: Cocos2D.ICCCopyable
Constructors
CCBezierBy(CCBezierBy)
CCBezierBy(CCBezierBy)(Cocos2D.CCBezierBy bezierBy)
Parameters:
bezierBy
(Cocos2D.CCBezierBy)CCBezierBy(float, CCBezierConfig)
CCBezierBy(float, CCBezierConfig)(System.Single t, Cocos2D.CCBezierConfig c)
Parameters:
t
(System.Single)c
(Cocos2D.CCBezierConfig)Fields
m_previousPosition(Cocos2D.CCPoint)
m_sConfig(Cocos2D.CCBezierConfig)
m_startPosition(Cocos2D.CCPoint)
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
InitWithDuration(float, CCBezierConfig)
System.Boolean InitWithDuration(float, CCBezierConfig)(System.Single t, Cocos2D.CCBezierConfig c)
Parameters:
t
(System.Single)c
(Cocos2D.CCBezierConfig)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 time)
Parameters:
time
(System.Single)Example