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

EaseExponentialInOut action If time * 2 < 1, the timeline of inner action will be changed by: \(0.5*{ 2 }^{ 10*(time-1) }\). More...

Inherits ActionEase.

Public Member Functions

virtual EaseExponentialInOutclone () const override
 override Action.
 
local clone ()
 override Action.
 
virtual EaseExponentialInOutreverse () const override
 override Action.
 
local reverse ()
 override Action.
 
- Public Member Functions inherited from ActionEase
virtual ActionIntervalgetInnerAction ()
 Get the pointer of the inner action. More...
 
- 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 EaseExponentialInOutcreate (ActionInterval *action)
 Create the action with the inner action. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ActionEase
bool initWithAction (ActionInterval *action)
 Initializes the action with the inner action. More...
 
var initWithAction ( var action)
 Initializes the action with the inner action. More...
 
local initWithAction ( local action)
 Initializes the action with the inner action. More...
 
- 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

EaseExponentialInOut action If time * 2 < 1, the timeline of inner action will be changed by: \(0.5*{ 2 }^{ 10*(time-1) }\).

else, the timeline of inner action will be changed by: \(0.5*(2-{ 2 }^{ -10*(time-1) })\).

Member Function Documentation

static EaseExponentialInOut* create ( ActionInterval action)
static

Create the action with the inner action.

The pointer of the inner action. A pointer of EaseExponentialInOut action. If creation failed, return nil.

var create ( var  action)
static

Create the action with the inner action.

The pointer of the inner action. A pointer of EaseExponentialInOut action. If creation failed, return nil.

local create ( local  action)
static

Create the action with the inner action.

The pointer of the inner action. A pointer of EaseExponentialInOut action. If creation failed, return nil.


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