Class cc.RotateTo#ctor

Class Summary
Constructor Attributes Constructor Name and Description
 
cc.RotateTo#ctor(duration, deltaAngleX, deltaAngleY)
Creates a RotateTo action with x and y rotation angles

Class Detail

cc.RotateTo#ctor(duration, deltaAngleX, deltaAngleY)
Creates a RotateTo action with x and y rotation angles
var rotateTo = new cc.RotateTo(2, 61.0);
Parameters:
{Number} duration
duration in seconds
{Number} deltaAngleX
deltaAngleX in degrees.
{Number} deltaAngleY Optional
deltaAngleY in degrees.