Defines the easing to apply to an animation.
Remarks
Depending on the animation type, the easing function is applied to the whole animation or individual parts of it.
Type Details
- yfiles module
- view-webgl
- yfiles-umd modules
- view-webgl, view
- Legacy UMD name
- yfiles.view.WebGL2AnimationEasing
Constants
The animation is eased at the beginning and at the end.
Remarks
The difference to EASE_IN_OUT is, the easing function is asymmetrical: the animation speed ramps up fast at the beginning and falls off slowly at the end.
The animation is eased at the beginning and at the end.
Remarks
The difference to EASE is, the easing function is symmetrical: the animation speed ramps up slowly at the beginning and falls off slowly at the end.
Static Methods
Converts the argument to WebGL2AnimationEasing.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - WebGL2AnimationEasing
- The value to convert to WebGL2AnimationEasing.
Returns
- ↪WebGL2AnimationEasing
- Either
value
if it is already a WebGL2AnimationEasing or an appropriate converted value.