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

#import <CC3Actions.h>

Inheritance diagram for CC3ActionTintTo:
Inheritance graph
[legend]

Instance Methods

(id) - initWithDuration:colorTo:
 

Class Methods

(id) + actionWithDuration:colorTo:
 

Detailed Description

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.

Method Documentation

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


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