Easing
The Easing class contains every easing method, as well as a number of static methods used to easily generate new Easing objects and a handful of predefined Easing objects for easy accessibility.
Last updated
Was this helpful?
The Easing class contains every easing method, as well as a number of static methods used to easily generate new Easing objects and a handful of predefined Easing objects for easy accessibility.
Last updated
Was this helpful?
The constructor for Easing
objects takes an inFunction, the function used to calculate eased time into the curve. The out and inOut functions can be generated using the given in function.
The function used to calculate eased time into the curve
The function used to calculate eased time out of the curve, generated using the in function
The function used to calculate the eased time into the function (where time < 0.5) and subsequently out of the function (where time > 0.5)
Returns a new Easing
object for which the in and out functions are reversed
Calculates the in-out eased time of the curve using two different Easing
objects for the in and out functions
Calculates the in-out eased time of the curve using two different Easing
objects for the in and out functions with a smooth the transition between the in and out function
Calling Easing.interpolate
with a smoothing value of 0 will return the equivalent of Easing.inOut