Class cc.FadeIn
- Defined in: CCActionInterval.js
- Extends cc.ActionInterval
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
The "reverse" of this action is FadeOut
Method Detail
-
{cc.FadeIn} clone()returns a new clone of the action
- Returns:
- {cc.FadeIn}
-
//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