Action used to animate any value in range [from,to] over specified time interval.
More...
#include <ActionInterval.h>
Inherits ActionInterval.
|
typedef std::function< void(float value)> | ActionFloatCallback |
| Callback function used to report back result.
|
|
|
static ActionFloat * | create (float duration, float from, float to, ActionFloatCallback callback) |
| Creates FloatAction with specified duration, from value, to value and callback to report back results.
|
|
Action used to animate any value in range [from,to] over specified time interval.
◆ create()
Creates FloatAction with specified duration, from value, to value and callback to report back results.
- Parameters
-
duration | of the action |
from | value to start from |
to | value to be at the end of the action |
callback | to report back result |
- Returns
- An autoreleased ActionFloat object
The documentation for this class was generated from the following file: