Class ccs.ActionFadeFrame
- Defined in: CCActionFrame.js
- Extends ccs.ActionFrame
Constructor Attributes | Constructor Name and Description |
---|---|
The Cocostudio's fade action frame.
|
Method Summary
Class Detail
ccs.ActionFadeFrame()
The Cocostudio's fade action frame.
Method Detail
-
ctor()Construction of ccs.ActionFadeFrame
-
{cc.FadeTo} getAction(duration)Returns a fade action with easing.
- Parameters:
- {Number} duration
- Returns:
- {cc.FadeTo}
-
{number} getOpacity()Returns the fade action opacity.
- Returns:
- {number}
-
setOpacity(opacity)Changes the fade action opacity.
- Parameters:
- {number} opacity