Inherits from CCActionInterval
Conforms to NSCopying
Declared in CC3Actions.h

Overview

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.

Class Methods

actionWithDuration:colorTo:

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)actionWithDuration:(CCTime)t colorTo:(ccColor4F)aColor

Declared In

CC3Actions.h

Instance Methods

initWithDuration:colorTo:

Initializes this 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

Declared In

CC3Actions.h