Axmol Engine 2.4.0-258ceca
|
Base class for Easing actions with rate parameters. More...
#include <ActionEase.h>
Inherits ActionEase.
Inherited by EaseIn, EaseInOut, and EaseOut.
Public Member Functions | |
void | setRate (float rate) |
Set the rate value for the ease rate action. | |
float | getRate () const |
Get the rate value of the ease rate action. | |
bool | initWithAction (ActionInterval *pAction, float fRate) |
Initializes the action with the inner action and the rate parameter. | |
![]() | |
virtual ActionInterval * | getInnerAction () |
Get the pointer of the inner action. | |
bool | initWithAction (ActionInterval *action) |
Initializes the action. | |
![]() | |
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 | |
Base class for Easing actions with rate parameters.
Ease the inner action with specified rate.
|
inline |
Set the rate value for the ease rate action.
rate | The value will be set. |
|
inline |
Get the rate value of the ease rate action.
bool initWithAction | ( | ActionInterval * | pAction, |
float | fRate ) |
Initializes the action with the inner action and the rate parameter.
pAction | The pointer of the inner action. |
fRate | The value of the rate parameter. |