Interface IEasingFunction
Hierarchy
- IEasingFunction
Implemented by
Index
Methods
Methods
easeSearch playground for 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
This represents the main contract an easing function should follow. Easing functions are used throughout the animation system.
https://doc.babylonjs.com/divingDeeper/animation/advanced_animations#easing-functions