CC3RotateByAngle is a CCActionInterval that rotates a target CC3Node by a specific amount, by repeatedly invoking the rotateByAngle:aroundAxis: method on the target node as the action runs. More...
#import <CC3ActionInterval.h>
Public Member Functions | |
(id) | - initWithDuration:rotateByAngle: |
(id) | - initWithDuration:rotateByAngle:aroundAxis: |
Static Public Member Functions | |
(id) | + actionWithDuration:rotateByAngle: |
(id) | + actionWithDuration:rotateByAngle:aroundAxis: |
CC3RotateByAngle is a CCActionInterval that rotates a target CC3Node by a specific amount, by repeatedly invoking the rotateByAngle:aroundAxis: method on the target node as the action runs.
+ (id) actionWithDuration: | (ccTime) | t | |
rotateByAngle: | (GLfloat) | anAngle | |
Allocates and initializes an autoreleased instance to rotate the target node by the specified angle around the existing rotationAxis of the node, within the specified time duration.
+ (id) actionWithDuration: | (ccTime) | t | |
rotateByAngle: | (GLfloat) | anAngle | |
aroundAxis: | (CC3Vector) | anAxis | |
Allocates and initializes an autoreleased instance to rotate the target node by the specified angle around the specified axis, within the specified time duration.
- (id) initWithDuration: | (ccTime) | t | |
rotateByAngle: | (GLfloat) | anAngle | |
Initializes this instance to rotate the target node by the specified angle around the existing rotationAxis of the node, within the specified time duration.
- (id) initWithDuration: | (ccTime) | t | |
rotateByAngle: | (GLfloat) | anAngle | |
aroundAxis: | (CC3Vector) | anAxis | |
Initializes this instance to rotate the target node by the specified angle around the specified axis, within the specified time duration.