Skip to main content

CCTintTo

CCTintTo

Cocos2D

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

Implements: Cocos2D.ICCCopyable

Constructors

CCTintTo(CCTintTo)

CCTintTo(CCTintTo)(Cocos2D.CCTintTo tintTo)
Parameters:
tintTo (Cocos2D.CCTintTo)

CCTintTo(float, byte, byte, byte)

CCTintTo(float, byte, byte, byte)(System.Single duration, System.Byte red, System.Byte green, System.Byte blue)
Parameters:
duration (System.Single)
red (System.Byte)
green (System.Byte)
blue (System.Byte)

Fields

m_from(Cocos2D.CCColor3B)
m_to(Cocos2D.CCColor3B)

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, byte, byte, byte)

System.Boolean InitWithDuration(float, byte, byte, byte)(System.Single duration, System.Byte red, System.Byte green, System.Byte blue)
Parameters:
duration (System.Single)
red (System.Byte)
green (System.Byte)
blue (System.Byte)
Returns:
System.Boolean

StartWithTarget(CCNode)

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

Update(float)

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