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

EaseBezierAction. More...

Inherits ActionEase.

Public Member Functions

virtual EaseBezierActionclone () const override
 override Action.
 
virtual EaseBezierActionreverse () const override
 override Action.
 
virtual void setBezierParamer (float p0, float p1, float p2, float p3)
 Set the bezier parameters.
 
- 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 EaseBezierActioncreate (ActionInterval *action)
 Create the action with the inner action. More...
 
local create ( local 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

Member Function Documentation

static EaseBezierAction* create ( ActionInterval action)
static

Create the action with the inner action.

The pointer of the inner action. A pointer of EaseBezierAction 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 EaseBezierAction 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 EaseBezierAction action. If creation failed, return nil.


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