CCFadeTo
CCFadeTo
Cocos2DInheritance: System.Object → Cocos2D.CCAction → Cocos2D.CCFiniteTimeAction → Cocos2D.CCActionInterval
Implements: Cocos2D.ICCCopyable
Constructors
CCFadeTo(CCFadeTo)
CCFadeTo(CCFadeTo)(Cocos2D.CCFadeTo fadeTo)Parameters:
fadeTo (Cocos2D.CCFadeTo)CCFadeTo(float, byte)
CCFadeTo(float, byte)(System.Single duration, System.Byte opacity)Parameters:
duration (System.Single)opacity (System.Byte)Fields
m_fromOpacity(System.Byte)
m_toOpacity(System.Byte)
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.ObjectExample
InitWithDuration(float, byte)
System.Boolean InitWithDuration(float, byte)(System.Single duration, System.Byte opacity)Parameters:
duration (System.Single)opacity (System.Byte)Returns:
System.BooleanStartWithTarget(CCNode)
StartWithTarget(CCNode)(Cocos2D.CCNode target)Parameters:
target (Cocos2D.CCNode)Example
Update(float)
Update(float)(System.Single time)Parameters:
time (System.Single)Example