Color legend plain property method
A polynomial of degree 6 that follows SineEaseInOut to within 0.003, without a cosine.
A class in the category ShapingFunctionCategory.Hexic. 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
| Property | Value |
|---|---|
Id |
ShapingFunctionId.BlinnWyvillCosineApproximation, number 38 |
Category |
ShapingFunctionCategory.Hexic |
Name |
"Blinn-Wyvill Cosine Approximation" |
Order |
6 |
ParameterCount |
0 |
HasVariableOrder |
false |
For an input x from 0 to 1, the output is (4/9)x⁶ − (17/9)x⁴ + (22/9)x², Blinn and Wyvill’s approximation of the raised cosine.
Flat at both ends and 0.5 at the middle, like SineEaseInOut, which it never strays from by more than 0.003. It stays within 0 to 1 and never goes back.
Methods
BlinnWyvillCosineApproximation() →
BlinnWyvillCosineApproximation() · Creates the curve. ShapingFunctionFactory.Create creates the same from ShapingFunctionId.BlinnWyvillCosineApproximation.