Axmol Engine 2.4.0-258ceca
|
Ease Elastic abstract class. More...
#include <ActionEase.h>
Inherits ActionEase.
Inherited by EaseElasticIn, EaseElasticInOut, and EaseElasticOut.
Public Member Functions | |
float | getPeriod () const |
Get period of the wave in radians. | |
void | setPeriod (float fPeriod) |
Set period of the wave in radians. | |
bool | initWithAction (ActionInterval *action, float period=0.3f) |
Initializes the action with the inner action and the period in radians. | |
![]() | |
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 | |
Ease Elastic abstract class.
|
inline |
Get period of the wave in radians.
Default value is 0.3.
|
inline |
Set period of the wave in radians.
fPeriod | The value will be set. |
bool initWithAction | ( | ActionInterval * | action, |
float | period = 0.3f ) |
Initializes the action with the inner action and the period in radians.
action | The pointer of the inner action. |
period | Period of the wave in radians. Default is 0.3. |