v2.0.2
Instance Methods | Class Methods | List of all members
CC3ActionRotateByAngle Class Reference

#import <CC3Actions.h>

Inheritance diagram for CC3ActionRotateByAngle:
Inheritance graph
[legend]

Instance Methods

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

Class Methods

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

Detailed Description

CC3ActionRotateByAngle rotates a target CC3Node by a specific amount, by repeatedly invoking the rotateByAngle:aroundAxis: method on the target node as the action runs.

Method 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: