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

EaseInOut action with a rate. More...

#include <ActionEase.h>

Inherits EaseRateAction.

Additional Inherited Members

- Public Member Functions inherited from EaseRateAction
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.
 
- 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

EaseInOut action with a rate.

If time * 2 < 1, the timeline of inner action will be changed by: \(0.5*{ time }^{ rate }\). Else, the timeline of inner action will be changed by: \(1.0-0.5*{ 2-time }^{ rate }\).


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