Base class for Easing actions with rate parameters. More...
Inherits ActionEase.
Inherited by EaseIn, EaseInOut, and EaseOut.
Public Member Functions | |
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... | |
virtual EaseRateAction * | clone () const override |
override Action . | |
virtual EaseRateAction * | reverse () const override |
override Action . | |
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 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... | |
Protected Member Functions | |
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... | |
Base class for Easing actions with rate parameters.
Ease the inner action with specified rate.
|
static |
Creates the action with the inner action and the rate parameter.
A given ActionInterval A given rate An autoreleased EaseRateAction object.
|
static |
Creates the action with the inner action and the rate parameter.
A given ActionInterval A given rate An autoreleased EaseRateAction object.
|
static |
Creates the action with the inner action and the rate parameter.
A given ActionInterval A given rate An autoreleased EaseRateAction object.
|
inline |
Set the rate value for the ease rate action.
The rate value.
|
inline |
Set the rate value for the ease rate action.
The rate value.
|
inline |
Set the rate value for the ease rate action.
The rate value.
|
inline |
Get the rate value of the ease rate action.
Return the rate value of the ease rate action.
|
inline |
Get the rate value of the ease rate action.
Return the rate value of the ease rate action.
|
inline |
Get the rate value of the ease rate action.
Return the rate value of the ease rate action.
|
protected |
Initializes the action with the inner action and the rate parameter.
The pointer of the inner action. The value of the rate parameter. Return true when the initialization success, otherwise return false.
|
protected |
Initializes the action with the inner action and the rate parameter.
The pointer of the inner action. The value of the rate parameter. Return true when the initialization success, otherwise return false.
|
protected |
Initializes the action with the inner action and the rate parameter.
The pointer of the inner action. The value of the rate parameter. Return true when the initialization success, otherwise return false.