#import <CC3Actions.h>
Instance Methods | |
(id) | - initWithDuration:colorTo: |
Class Methods | |
(id) | + actionWithDuration:colorTo: |
CC3ActionTintTo changes the color of a target CC3Node to a particular color.
This implementation changes BOTH the ambientColor and diffuseColor properties of the target CC3Node. In addition, CC3ActionTintTo has several subclasses, each dedicated to changing one particular color property, without affecting the other color properties.
+ (id) actionWithDuration: | (CCTime) | t | |
colorTo: | (ccColor4F) | aColor | |
Allocates and initializes an autoreleased instance to change a color property of the target node to the specified color, within the specified time duration.
- (id) initWithDuration: | (CCTime) | t | |
colorTo: | (ccColor4F) | aColor | |
Initializes this instance to change a color property of the target node to the specified color, within the specified time duration.