Skip to main content

CCTintBy

CCTintBy

Cocos2D

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

Implements: Cocos2D.ICCCopyable

Constructors

CCTintBy(CCTintBy)

CCTintBy(CCTintBy)(Cocos2D.CCTintBy tintBy)
Parameters:
tintBy (Cocos2D.CCTintBy)

CCTintBy(float, short, short, short)

CCTintBy(float, short, short, short)(System.Single duration, System.Int16 deltaRed, System.Int16 deltaGreen, System.Int16 deltaBlue)
Parameters:
duration (System.Single)
deltaRed (System.Int16)
deltaGreen (System.Int16)
deltaBlue (System.Int16)

Fields

m_deltaB(System.Int16)
m_deltaG(System.Int16)
m_deltaR(System.Int16)
m_fromB(System.Int16)
m_fromG(System.Int16)
m_fromR(System.Int16)

Methods

Copy(ICCCopyable)

System.Object Copy(ICCCopyable)(Cocos2D.ICCCopyable zone)
Parameters:
zone (Cocos2D.ICCCopyable)
Returns:
System.Object
Example

InitWithDuration(float, short, short, short)

System.Boolean InitWithDuration(float, short, short, short)(System.Single duration, System.Int16 deltaRed, System.Int16 deltaGreen, System.Int16 deltaBlue)
Parameters:
duration (System.Single)
deltaRed (System.Int16)
deltaGreen (System.Int16)
deltaBlue (System.Int16)
Returns:
System.Boolean

Reverse()

Cocos2D.CCFiniteTimeAction Reverse()()
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