CC3RotateByAngle is a CCActionInterval that rotates a target CC3Node by a specific amount, by updating the rotationAngle propety. More...
#import <CC3ActionInterval.h>
Public Member Functions | |
(id) | - initWithDuration:rotateByAngle: |
Static Public Member Functions | |
(id) | + actionWithDuration:rotateByAngle: |
CC3RotateByAngle is a CCActionInterval that rotates a target CC3Node by a specific amount, by updating the rotationAngle propety.
The rotationAngle property rotates the node around the axis set in the rotationAxis property of the node. Make sure that you set the rotationAxis property appropriately.
+ (id) actionWithDuration: | (ccTime) | t | |
rotateByAngle: | (GLfloat) | anAngle | |
Allocates and initializes an autoreleased instance to rotate the target node by the specified angle, within the specified time duration.
- (id) initWithDuration: | (ccTime) | t | |
rotateByAngle: | (GLfloat) | anAngle | |
Initializes this instance to rotate the target node by the specified angle, within the specified time duration.