#import <CC3Actions.h>
Instance Methods | |
(id) | - initWithDuration:rotateByAngle: |
(id) | - initWithDuration:rotateByAngle:aroundAxis: |
Class Methods | |
(id) | + actionWithDuration:rotateByAngle: |
(id) | + actionWithDuration:rotateByAngle:aroundAxis: |
CC3ActionRotateByAngle 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.