Cocos2d-x  v3.12
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
TintBy Class Reference

Tints a Node that implements the NodeRGB protocol from current tint to a custom one. More...

Inherits ActionInterval.

Public Member Functions

virtual TintByclone () const override
 override ActionInterval.
 
local clone ()
 override ActionInterval.
 
virtual TintByreverse () const override
 override Action.
 
local reverse ()
 override Action.
 
- Public Member Functions inherited from ActionInterval
float getElapsed (void)
 How many seconds had elapsed since the actions started to run. More...
 
var getElapsed ()
 How many seconds had elapsed since the actions started to run. More...
 
local getElapsed ()
 How many seconds had elapsed since the actions started to run. More...
 
void setAmplitudeRate (float amp)
 Sets the amplitude rate, extension in GridAction. More...
 
float getAmplitudeRate (void)
 Gets the ampliture rate, extension in GridAction. More...
 
virtual bool isDone (void) const override
 override Action.
 
local isDone ()
 override Action.
 

Static Public Member Functions

static TintBycreate (float duration, GLshort deltaRed, GLshort deltaGreen, GLshort deltaBlue)
 Creates an action with duration and color. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ActionInterval
bool initWithDuration (float d)
 initializes the action with the duration. More...
 
var initWithDuration ( var d)
 initializes the action with the duration. More...
 
local initWithDuration ( local d)
 initializes the action with the duration. More...
 

Detailed Description

Tints a Node that implements the NodeRGB protocol from current tint to a custom one.

Member Function Documentation

static TintBy* create ( float  duration,
GLshort  deltaRed,
GLshort  deltaGreen,
GLshort  deltaBlue 
)
static

Creates an action with duration and color.

Duration time, in seconds. Delta red color. Delta green color. Delta blue color. An autoreleased TintBy object.

var create ( var  duration,
var  deltaRed,
var  deltaGreen,
var  deltaBlue 
)
static

Creates an action with duration and color.

Duration time, in seconds. Delta red color. Delta green color. Delta blue color. An autoreleased TintBy object.

local create ( local  duration,
local  deltaRed,
local  deltaGreen,
local  deltaBlue 
)
static

Creates an action with duration and color.

Duration time, in seconds. Delta red color. Delta green color. Delta blue color. An autoreleased TintBy object.


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