CellFilterSmoothStep
CellFilterSmoothStep
Adapted from OpenGL spec smoothstep performs smooth Hermite interpolation between 0 and 1 when edge0 < x < edge1. This is useful in cases where a threshold function with a smooth transition is desired.
Kind: global class
CellFilterSmoothStep.from(edge0, edge1, x) ⇒ CellFilterSmoothStep
Kind: static method of CellFilterSmoothStep
Param | Type | Description |
---|---|---|
edge0 | CellFilter | Specifies the value of the lower edge of the Hermite function. |
edge1 | CellFilter | Specifies the value of the upper edge of the Hermite function. |
x | CellFilter | Specifies the source value for interpolation. |