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

Base class for Easing actions. More...

#include <ActionEase.h>

Inherits ActionInterval.

Inherited by EaseBackIn, EaseBackInOut, EaseBackOut, EaseBezierAction, EaseBounce, EaseBounceIn, EaseBounceInOut, EaseBounceOut, EaseCircleActionIn, EaseCircleActionInOut, EaseCircleActionOut, EaseCubicActionIn, EaseCubicActionInOut, EaseCubicActionOut, EaseElastic, EaseExponentialIn, EaseExponentialInOut, EaseExponentialOut, EaseQuadraticActionIn, EaseQuadraticActionInOut, EaseQuadraticActionOut, EaseQuarticActionIn, EaseQuarticActionInOut, EaseQuarticActionOut, EaseQuinticActionIn, EaseQuinticActionInOut, EaseQuinticActionOut, EaseRateAction, EaseSineIn, EaseSineInOut, and EaseSineOut.

Public Member Functions

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

Base class for Easing actions.

Ease actions are created from other interval actions. The ease action will change the timeline of the inner action.

Member Function Documentation

◆ getInnerAction()

virtual ActionInterval * getInnerAction ( )
virtual

Get the pointer of the inner action.

Returns
The pointer of the inner action.

◆ initWithAction()

bool initWithAction ( ActionInterval * action)

Initializes the action.

Returns
Return true when the initialization success, otherwise return false.

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