Axmol Engine 2.4.0-258ceca
Loading...
Searching...
No Matches
EaseBezierAction Class Reference

Ease Bezier. More...

#include <ActionEase.h>

Inherits ActionEase.

Public Member Functions

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.
 
bool initWithAction (ActionInterval *action)
 Initializes the action.
 
- Public Member Functions inherited from ActionInterval
float getElapsed ()
 How many seconds had elapsed since the actions started to run.
 
void setAmplitudeRate (float amp)
 Sets the amplitude rate, extension in GridAction.
 
float getAmplitudeRate ()
 Gets the amplitude rate, extension in GridAction.
 
virtual void step (float dt) override
 
bool initWithDuration (float d)
 initializes the action
 

Static Public Member Functions

static EaseBezierActioncreate (ax::ActionInterval *action)
 Create the action with the inner action.
 

Detailed Description

Ease Bezier.

Member Function Documentation

◆ create()

static EaseBezierAction * create ( ax::ActionInterval * action)
static

Create the action with the inner action.

Parameters
actionThe pointer of the inner action.
Returns
A pointer of EaseBezierAction action. If creation failed, return nil.

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