Docs / Shaping functions

Glossary: QuadraticEaseIn

The curve of QuadraticEaseIn and its constructor.

Color legend plain property method

x²: starts still and speeds up evenly.

A class in the category ShapingFunctionCategory.Quadratic. It derives from BaseShapingFunction and has its members too: CalculateOutput gives the curve. The curves page shows it in context, with the rest of its family.

Names are colored by what they are: a property or a method; values and fields keep the plain color.

The curve

The curve of QuadraticEaseIn: x²: starts still and speeds up evenly.
Input across, output up. The dashed line is Linear.
Property Value
Id ShapingFunctionId.QuadraticEaseIn, number 24
Category ShapingFunctionCategory.Quadratic
Name "Quadratic EaseIn"
Order 2
ParameterCount 0
HasVariableOrder false

For an input x from 0 to 1, the output is x².

It is 0.25 at the middle and ends at twice the speed of Linear. It stays within 0 to 1 and never goes back.

Methods

QuadraticEaseIn() →

QuadraticEaseIn() · Creates the curve. ShapingFunctionFactory.Create creates the same from ShapingFunctionId.QuadraticEaseIn.