MathHelper.SmoothStep Method (Microsoft.Xna.Framework)
Interpolates between two values using a cubic equation.
- C#
- VB
- F#
public static float SmoothStep( float value1, float value2, float amount )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- value1
-
Type: System.Single
Source value.
- value2
-
Type: System.Single
Source value.
- amount
-
Type: System.Single
Weighting value.
Return Value
Type: System.SingleInterpolated value.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web