CCActionTintBy Class Reference
| Inherits from | CCActionInterval : CCActionFiniteTime : CCAction : NSObject |
| Conforms to | NSCopying |
| Declared in | CCActionInterval.h |
Class Methods
actionWithDuration:red:green:blue:
Creates a tint by action.
+ (id)actionWithDuration:(CCTime)duration red:(CGFloat)deltaRed green:(CGFloat)deltaGreen blue:(CGFloat)deltaBlueParameters
- duration
Action duration.
- deltaRed
Red delta color to tint.
- deltaGreen
Green delta color to tint.
- deltaBlue
Blue delta color to tint.
Return Value
New tint by action.
Declared In
CCActionInterval.hInstance Methods
initWithDuration:red:green:blue:
Initalizes a tint by action.
- (id)initWithDuration:(CCTime)duration red:(CGFloat)deltaRed green:(CGFloat)deltaGreen blue:(CGFloat)deltaBlueParameters
- duration
Action duration.
- deltaRed
Red delta color to tint.
- deltaGreen
Green delta color to tint.
- deltaBlue
Blue delta color to tint.
Return Value
New tint by action.
Declared In
CCActionInterval.h