This internal function is used to return the correct ease function for a Tween.
It can take a variety of input, including an EaseMap based string, or a custom function.
name | type | arguments | description |
---|---|---|---|
ease | string | function |
The ease to find. This can be either a string from the EaseMap, or a custom function. |
|
easeParams | Array.<number> | <optional> |
An optional array of ease parameters to go with the ease. |
The ease function.