|
| FadeHelper (float time, float target_value, float start_value=0.f, easing ease=LinearInterpolation) |
| Initialize FadeHelper without binding to a value.
|
|
| FadeHelper (float *value, float time, float target_value, easing ease=LinearInterpolation) |
| Initialize FadeHelper, binding to value .
|
|
float | update (float dt_sec) |
| Increases the internal timer of the FadeHelper. More...
|
|
bool | completed () const |
|
float | get_value () const |
|
◆ completed()
bool FadeHelper::completed |
( |
| ) |
const |
- Returns
- true if the FadeHelper has completed fading.
◆ update()
float FadeHelper::update |
( |
float |
dt_sec | ) |
|
Increases the internal timer of the FadeHelper.
- Parameters
-
dt_sec | The increase in time since last call to update(). |
- Returns
- The new value for the internal value.
The documentation for this class was generated from the following files: