Class cc.TintTo#ctor
- Defined in: CCActionInterval.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
cc.TintTo#ctor(duration, red, green, blue)
|
Class Detail
cc.TintTo#ctor(duration, red, green, blue)
var action = new cc.TintTo(2, 255, 0, 255);
- Parameters:
- {Number} duration
- {Number} red
- 0-255
- {Number} green
- 0-255
- {Number} blue
- 0-255