Class ccs.ActionRotationFrame
- Defined in: CCActionFrame.js
- Extends ccs.ActionFrame
Constructor Attributes | Constructor Name and Description |
---|---|
The Cocostudio's rotation action frame.
|
Method Summary
Class Detail
ccs.ActionRotationFrame()
The Cocostudio's rotation action frame.
Method Detail
-
ctor()Construction of ccs.ActionRotationFrame
-
{cc.RotateTo} getAction(duration, srcFrame)Returns the CCAction of ActionFrame.
- Parameters:
- {number} duration
- {cc.ActionFrame} srcFrame Optional
- Returns:
- {cc.RotateTo}
-
{number} getRotation()Returns the rotate action rotation.
- Returns:
- {number}
-
setRotation(rotation)Changes rotate action rotation.
- Parameters:
- {number} rotation