This class contains a C# port of the easing equations created by Robert Penner (http://robertpenner.com/easing).
More...
List of all members.
Static Public Member Functions |
| static float | EaseIn (float time, float startValue, float changeValue, float duration, float unusedOvershootOrAmplitude, float unusedPeriod) |
| | Tween.
|
| static float | EaseOut (float time, float startValue, float changeValue, float duration, float unusedOvershootOrAmplitude, float unusedPeriod) |
| | Tween.
|
| static float | EaseInOut (float time, float startValue, float changeValue, float duration, float unusedOvershootOrAmplitude, float unusedPeriod) |
| | Tween.
|
Detailed Description
This class contains a C# port of the easing equations created by Robert Penner (http://robertpenner.com/easing).
Member Function Documentation
| static float EaseIn |
( |
float |
time, |
|
|
float |
startValue, |
|
|
float |
changeValue, |
|
|
float |
duration, |
|
|
float |
unusedOvershootOrAmplitude, |
|
|
float |
unusedPeriod |
|
) |
| [static] |
Tween.
- Parameters:
-
| time | Time. |
| startValue | Begin value. |
| changeValue | Change value. |
| duration | Duration. |
| unusedOvershootOrAmplitude | Unused: here to keep same delegate for all ease types. |
| unusedPeriod | Unused: here to keep same delegate for all ease types. |
- Returns:
- A System.Single
| static float EaseInOut |
( |
float |
time, |
|
|
float |
startValue, |
|
|
float |
changeValue, |
|
|
float |
duration, |
|
|
float |
unusedOvershootOrAmplitude, |
|
|
float |
unusedPeriod |
|
) |
| [static] |
Tween.
- Parameters:
-
| time | Time. |
| startValue | Begin value. |
| changeValue | Change value. |
| duration | Duration. |
| unusedOvershootOrAmplitude | Unused: here to keep same delegate for all ease types. |
| unusedPeriod | Unused: here to keep same delegate for all ease types. |
- Returns:
- A System.Single
| static float EaseOut |
( |
float |
time, |
|
|
float |
startValue, |
|
|
float |
changeValue, |
|
|
float |
duration, |
|
|
float |
unusedOvershootOrAmplitude, |
|
|
float |
unusedPeriod |
|
) |
| [static] |
Tween.
- Parameters:
-
| time | Time. |
| startValue | Begin value. |
| changeValue | Change value. |
| duration | Duration. |
| unusedOvershootOrAmplitude | Unused: here to keep same delegate for all ease types. |
| unusedPeriod | Unused: here to keep same delegate for all ease types. |
- Returns:
- A System.Single