Processing math: 100%

⚠️ This documentation corresponds to the latest development branch of axmol. It might diverge from the official releases.

 
Axmol Engine 2.4.0-ce063c5
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Modules Pages
Loading...
Searching...
No Matches
EaseElasticOut Class Reference

Ease Elastic Out action. More...

#include <ActionEase.h>

Inherits EaseElastic.

Additional Inherited Members

- Public Member Functions inherited from EaseElastic
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.
 
- Public Member Functions inherited from ActionEase
virtual ActionIntervalgetInnerAction ()
 Get the pointer of the inner action.
 
bool initWithAction (ActionInterval *action)
 Initializes the action.
 
- Public Member Functions inherited from ActionInterval
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
 

Detailed Description

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.

Warning
This action doesn't use a bijective function. Actions like Sequence might have an unexpected result when used with this action.
Since
v0.8.2

The documentation for this class was generated from the following file: