Axmol Engine 2.4.0-258ceca
Loading...
Searching...
No Matches
EaseElasticIn Class Reference

Ease Elastic In 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 In 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-1) }*sin((time-1-\frac { period }{ 4 } )*\pi *2/period)\).

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: