Easing.

BackEaseInOut(float) Method

Namespace
StrideToolkit.Mathematics
Containing Type
Easing

Syntax

public static float BackEaseInOut(float amount)

Remarks

Modeled after the piecewise overshooting cubic function: y = (1/2)*((2x)^3-(2x)*sin(2*x*pi)) ; [0, 0.5] y = (1/2)*(1-((1-x)^3-(1-x)*sin((1-x)*pi))+1) ; [0.5, 1]

Parameters

Name Type Description
amount float

Return Value

Type Description
float