Interface IEasingFunction
Implemented by
Methods
ease
-
Given an input gradient between 0 and 1, this returns the corresponding value of the easing function. The link below provides some of the most common examples of easing functions.
Parameters
- gradient: number
Defines the value between 0 and 1 we want the easing value for
Returns number
the corresponding value on the curve defined by the easing function
- gradient: number
This represents the main contract an easing function should follow. Easing functions are used throughout the animation system.
See
https://doc.babylonjs.com/features/featuresDeepDive/animation/advanced_animations#easing-functions