Class ccs.ActionRotationFrame

Class Summary
Constructor Attributes Constructor Name and Description
 
Base class for ccs.ActionRotationFrame

Method Summary

Class Detail

ccs.ActionRotationFrame()
Base class for ccs.ActionRotationFrame

Method Detail

  • {cc.RotateTo} getAction(duration)
    Gets the CCAction of ActionFrame.
    Parameters:
    {number} duration
    Returns:
    {cc.RotateTo}
  • {number} getRotation()
    Gets the rotate action rotation.
    Returns:
    {number}
  • setRotation(rotation)
    Changes rotate action rotation.
    Parameters:
    {number} rotation