Class cc.FadeOut
- Defined in: CCActionInterval.js
- Extends cc.FadeTo
Constructor Attributes | Constructor Name and Description |
---|---|
Fades Out an object that implements the cc.RGBAProtocol protocol.
|
Method Summary
Class Detail
cc.FadeOut()
Fades Out an object that implements the cc.RGBAProtocol protocol. It modifies the opacity from 255 to 0.
The "reverse" of this action is FadeIn
Method Detail
-
{cc.FadeOut} clone()returns a new clone of the action
- Returns:
- {cc.FadeOut}
-
// example var action = cc.FadeOut.create(1.0);
- Parameters:
- {Number} d
- duration in seconds
- Returns:
- {cc.FadeOut}
-
{cc.ActionInterval} reverse()
- Returns:
- {cc.ActionInterval}