Rotates a Node object clockwise a number of degrees by modifying it's rotation attribute.
More...
Inherits ActionInterval.
|
static RotateBy * | create (float duration, float deltaAngle) |
| Creates the action with duration and delta angle to rotate. More...
|
|
var | create ( var duration, var deltaAngle) |
| Creates the action with duration and delta angle to rotate. More...
|
|
local | create ( local duration, local deltaAngle) |
| Creates the action with duration and delta angle to rotate. More...
|
|
static RotateBy * | create (float duration, float deltaAngleZ_X, float deltaAngleZ_Y) |
| Creates the action with separate rotation angles. More...
|
|
var | create ( var duration, var deltaAngleZ_X, var deltaAngleZ_Y) |
| Creates the action with separate rotation angles. More...
|
|
static RotateBy * | create (float duration, const Vec3 &deltaAngle3D) |
| Creates the action with 3D rotation angles. More...
|
|
local | create ( local duration, local deltaAngle3D) |
| Creates the action with 3D rotation angles. More...
|
|
Rotates a Node object clockwise a number of degrees by modifying it's rotation attribute.
static RotateBy* create |
( |
float |
duration, |
|
|
float |
deltaAngle |
|
) |
| |
|
static |
Creates the action with duration and delta angle to rotate.
Duration time, in seconds. Delta angle in degrees. An autoreleased RotateBy object.
var create |
( |
var |
duration, |
|
|
var |
deltaAngle |
|
) |
| |
|
static |
Creates the action with duration and delta angle to rotate.
Duration time, in seconds. Delta angle in degrees. An autoreleased RotateBy object.
local create |
( |
local |
duration, |
|
|
local |
deltaAngle |
|
) |
| |
|
static |
Creates the action with duration and delta angle to rotate.
Duration time, in seconds. Delta angle in degrees. An autoreleased RotateBy object.
static RotateBy* create |
( |
float |
duration, |
|
|
float |
deltaAngleZ_X, |
|
|
float |
deltaAngleZ_Y |
|
) |
| |
|
static |
Creates the action with separate rotation angles.
Duration time, in seconds. Delta angle x in degrees. Delta angle y n degreesCW. An autoreleased RotateBy object. The physics body contained in Node doesn't support rotate with different x and y angle.
var create |
( |
var |
duration, |
|
|
var |
deltaAngleZ_X, |
|
|
var |
deltaAngleZ_Y |
|
) |
| |
|
static |
Creates the action with separate rotation angles.
Duration time, in seconds. Delta angle x in degrees. Delta angle y n degreesCW. An autoreleased RotateBy object. The physics body contained in Node doesn't support rotate with different x and y angle.
local create |
( |
local |
duration, |
|
|
local |
deltaAngleZ_X, |
|
|
local |
deltaAngleZ_Y |
|
) |
| |
|
static |
Creates the action with separate rotation angles.
Duration time, in seconds. Delta angle x in degrees. Delta angle y n degreesCW. An autoreleased RotateBy object. The physics body contained in Node doesn't support rotate with different x and y angle.
static RotateBy* create |
( |
float |
duration, |
|
|
const Vec3 & |
deltaAngle3D |
|
) |
| |
|
static |
Creates the action with 3D rotation angles.
Duration time, in seconds. A Vec3 angle. An autoreleased RotateBy object.
var create |
( |
var |
duration, |
|
|
var |
deltaAngle3D |
|
) |
| |
|
static |
Creates the action with 3D rotation angles.
Duration time, in seconds. A Vec3 angle. An autoreleased RotateBy object.
local create |
( |
local |
duration, |
|
|
local |
deltaAngle3D |
|
) |
| |
|
static |
Creates the action with 3D rotation angles.
Duration time, in seconds. A Vec3 angle. An autoreleased RotateBy object.
bool initWithDuration |
( |
float |
duration, |
|
|
float |
deltaAngle |
|
) |
| |
|
protected |
initializes the action Duration time, in seconds.
Delta angle in degrees. Return true if initialized successfully, otherwise return false.
var initWithDuration |
( |
var |
duration, |
|
|
var |
deltaAngle |
|
) |
| |
|
protected |
initializes the action Duration time, in seconds.
Delta angle in degrees. Return true if initialized successfully, otherwise return false.
local initWithDuration |
( |
local |
duration, |
|
|
local |
deltaAngle |
|
) |
| |
|
protected |
initializes the action Duration time, in seconds.
Delta angle in degrees. Return true if initialized successfully, otherwise return false.
bool initWithDuration |
( |
float |
duration, |
|
|
float |
deltaAngleZ_X, |
|
|
float |
deltaAngleZ_Y |
|
) |
| |
|
protected |
- Warning
- The physics body contained in Node doesn't support rotate with different x and y angle. Duration time, in seconds. Delta angle x in degrees. Delta angle y n degreesCW. Return true if initialized successfully, otherwise return false.
var initWithDuration |
( |
var |
duration, |
|
|
var |
deltaAngleZ_X, |
|
|
var |
deltaAngleZ_Y |
|
) |
| |
|
protected |
- Warning
- The physics body contained in Node doesn't support rotate with different x and y angle. Duration time, in seconds. Delta angle x in degrees. Delta angle y n degreesCW. Return true if initialized successfully, otherwise return false.
local initWithDuration |
( |
local |
duration, |
|
|
local |
deltaAngleZ_X, |
|
|
local |
deltaAngleZ_Y |
|
) |
| |
|
protected |
- Warning
- The physics body contained in Node doesn't support rotate with different x and y angle. Duration time, in seconds. Delta angle x in degrees. Delta angle y n degreesCW. Return true if initialized successfully, otherwise return false.
bool initWithDuration |
( |
float |
duration, |
|
|
const Vec3 & |
deltaAngle3D |
|
) |
| |
|
protected |
- Parameters
-
duration | Duration time, in seconds. A Vec3 angle. Return true if initialized successfully, otherwise return false. |
var initWithDuration |
( |
var |
duration, |
|
|
var |
deltaAngle3D |
|
) |
| |
|
protected |
- Parameters
-
duration | Duration time, in seconds. A Vec3 angle. Return true if initialized successfully, otherwise return false. |
local initWithDuration |
( |
local |
duration, |
|
|
local |
deltaAngle3D |
|
) |
| |
|
protected |
- Parameters
-
duration | Duration time, in seconds. A Vec3 angle. Return true if initialized successfully, otherwise return false. |
The documentation for this class was generated from the following file: