- Namespace
- StrideToolkit
.Mathematics - Containing Type
- Easing
Syntax
public static double QuadraticEaseInOut(double amount)
Remarks
Modeled after the piecewise quadratic
y = (1/2)((2x)^2) ; [0, 0.5]
y = -(1/2)((2x-1)*(2x-3) - 1) ; [0.5, 1]
Parameters
Name | Type | Description |
---|---|---|
amount | double |
Return Value
Type | Description |
---|---|
double |