Public Member Functions | Static Public Member Functions

CC3RotateByAngle Class Reference

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>

Collaboration diagram for CC3RotateByAngle:
Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithDuration:rotateByAngle:
(id) - initWithDuration:rotateByAngle:aroundAxis:

Static Public Member Functions

(id) + actionWithDuration:rotateByAngle:
(id) + actionWithDuration:rotateByAngle:aroundAxis:

Detailed Description

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.


Member Function Documentation

+ (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.


The documentation for this class was generated from the following file: