WeatherMakerGeometryUtilitySmoothStep Method |
Smoothstep just like a shader
Namespace:
DigitalRuby.WeatherMaker
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static float SmoothStep(
float edge0,
float edge1,
float x
)
Public Shared Function SmoothStep (
edge0 As Single,
edge1 As Single,
x As Single
) As Single
public:
static float SmoothStep(
float edge0,
float edge1,
float x
)
static member SmoothStep :
edge0 : float32 *
edge1 : float32 *
x : float32 -> float32
Parameters
- edge0
- Type: SystemSingle
Value 1 - edge1
- Type: SystemSingle
Value 2 - x
- Type: SystemSingle
Amount (0 - 1)
Return Value
Type:
SingleResult
See Also