Class SKAnimationEasing
A collection of standard easing functions for use in animations.
Each function takes a normalized time value t in [0, 1] and returns
an eased value in [0, 1].
public static class SKAnimationEasing
- Inheritance
-
SKAnimationEasing
- Inherited Members
Methods
- CubicIn(double)
Cubic ease-in — starts slow and accelerates. Formula:
t³
- CubicInOut(double)
Cubic ease-in-out — accelerates then decelerates with cubic curve.
- CubicOut(double)
Cubic ease-out — starts fast and decelerates toward the end. Formula:
1 - (1 - t)³
- Linear(double)
Linear easing — no acceleration or deceleration.
- QuadIn(double)
Quadratic ease-in — starts slow and accelerates. Formula:
t²
- QuadInOut(double)
Quadratic ease-in-out — accelerates then decelerates.
- QuadOut(double)
Quadratic ease-out — starts fast and decelerates. Formula:
t(2 - t)