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