EaseInOut action with a rate If time * 2 < 1, the timeline of inner action will be changed by: \(0.5*{ time }^{ rate }\). More...
Inherits EaseRateAction.
Public Member Functions | |
virtual EaseInOut * | clone () const override |
override Action . | |
virtual EaseInOut * | reverse () const override |
override Action . | |
Public Member Functions inherited from EaseRateAction | |
void | setRate (float rate) |
Set the rate value for the ease rate action. More... | |
float | getRate () const |
Get the rate value of the ease rate action. More... | |
var | getRate () |
Get the rate value of the ease rate action. More... | |
local | getRate () |
Get the rate value of the ease rate action. More... | |
Public Member Functions inherited from ActionEase | |
virtual ActionInterval * | getInnerAction () |
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 EaseInOut * | create (ActionInterval *action, float rate) |
Create the action with the inner action and the rate parameter. More... | |
var | create ( var action, var rate) |
Create the action with the inner action and the rate parameter. More... | |
local | create ( local action, local rate) |
Create the action with the inner action and the rate parameter. More... | |
Static Public Member Functions inherited from EaseRateAction | |
static EaseRateAction * | create (ActionInterval *action, float rate) |
Creates the action with the inner action and the rate parameter. More... | |
local | create ( local action, local rate) |
Creates the action with the inner action and the rate parameter. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from EaseRateAction | |
bool | initWithAction (ActionInterval *pAction, float fRate) |
Initializes the action with the inner action and the rate parameter. More... | |
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... | |
EaseInOut action with a rate If time * 2 < 1, the timeline of inner action will be changed by: \(0.5*{ time }^{ rate }\).
Else, the timeline of inner action will be changed by: \(1.0-0.5*{ 2-time }^{ rate }\).
|
static |
Create the action with the inner action and the rate parameter.
The pointer of the inner action. The value of the rate parameter. A pointer of EaseInOut action. If creation failed, return nil.
|
static |
Create the action with the inner action and the rate parameter.
The pointer of the inner action. The value of the rate parameter. A pointer of EaseInOut action. If creation failed, return nil.
|
static |
Create the action with the inner action and the rate parameter.
The pointer of the inner action. The value of the rate parameter. A pointer of EaseInOut action. If creation failed, return nil.