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