Class CCTintBy

#include <Geode/cocos/actions/CCActionInterval.h>
classCCTintBy:publiccocos2d::CCActionInterval{ ... }

Since v0.7.2

Tints a CCNode that implements the CCNodeRGB protocol from current tint to a custom one.

Examples0
Public static methods1
staticcocos2d::CCTintBy*create(
floatduration
,
_::GLshortdeltaRed
,
_::GLshortdeltaGreen
,
_::GLshortdeltaBlue
)

creates an action with duration and color

Public member functions5
boolinitWithDuration(
floatduration
,
_::GLshortdeltaRed
,
_::GLshortdeltaGreen
,
_::GLshortdeltaBlue
)

initializes the action with duration and color

virtualcocos2d::CCObject*copyWithZone()
No description provided
virtualvoidstartWithTarget()
No description provided
virtualvoidupdate(
floattime
)
No description provided
virtualcocos2d::CCActionInterval*reverse()
No description provided
Fields0
Protected member functions0
Protected fields6
_::GLshortm_deltaR
;
No description provided
_::GLshortm_deltaG
;
No description provided
_::GLshortm_deltaB
;
No description provided
_::GLshortm_fromR
;
No description provided
_::GLshortm_fromG
;
No description provided
_::GLshortm_fromB
;
No description provided