Public Member Functions | Static Public Member Functions

CC3RotateByAngle Class Reference

CC3RotateByAngle is a CCActionInterval that rotates a target CC3Node by a specific amount, by updating the rotationAngle propety. More...

#import <CC3ActionInterval.h>

Inheritance diagram for CC3RotateByAngle:
Inheritance graph
[legend]

List of all members.

Public Member Functions

(id) - initWithDuration:rotateByAngle:

Static Public Member Functions

(id) + actionWithDuration:rotateByAngle:

Detailed Description

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.


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, 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.


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