Collection of functions that perform smoothing functions.
More...
|
static float | SmoothStart (float from, float to, float t) |
|
static float | SmoothStop (float from, float to, float t) |
|
Collection of functions that perform smoothing functions.
◆ SmoothStart()
static float SmoothingUtils.SmoothStart |
( |
float |
from, |
|
|
float |
to, |
|
|
float |
t |
|
) |
| |
|
static |
- Parameters
-
from | Starting value. |
to | Ending value. |
t | Time between 0 and 1. |
- Returns
- A smoothed value from 0 to .5 and a liner value from .5 to 1.
◆ SmoothStop()
static float SmoothingUtils.SmoothStop |
( |
float |
from, |
|
|
float |
to, |
|
|
float |
t |
|
) |
| |
|
static |
- Parameters
-
from | Starting value. |
to | Ending value. |
t | Time between 0 and 1. |
- Returns
- A linear value from 0 to .5 and a smoothed value from .5 to 1.
The documentation for this class was generated from the following file: