⚠️ This documentation corresponds to the latest development branch of axmol. It might diverge from the official releases.
Axmol Engine 2.4.0-ce063c5
|
Ease Elastic Out action. More...
#include <ActionEase.h>
Inherits EaseElastic.
Additional Inherited Members | |
![]() | |
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 Out action.
If time == 0 or time == 1, the timeline of inner action will not be changed. Else, the timeline of inner action will be changed by: { 2 }^{ -10*time }*sin((time-\frac { period }{ 4 } )*\pi *2/period)+1.