Class cc.FadeIn

Class Summary
Constructor Attributes Constructor Name and Description
 
Fades In an object that implements the cc.RGBAProtocol protocol.

Method Summary

Class Detail

cc.FadeIn()
Fades In an object that implements the cc.RGBAProtocol protocol. It modifies the opacity from 0 to 255.
The "reverse" of this action is FadeOut

Method Detail

  • {cc.FadeIn} clone()
    returns a new clone of the action
    Returns:
    {cc.FadeIn}
  • <static> {cc.FadeIn} cc.FadeIn.create(duration)
    //example
    var action = cc.FadeIn.create(1.0);
    Parameters:
    {Number} duration
    duration in seconds
    Returns:
    {cc.FadeIn}
  • {cc.ActionInterval} reverse()
    Returns:
    {cc.ActionInterval}
  • update(time)
    Parameters:
    {Number} time
    time in seconds