0 out of 4 rated this helpful - Rate this topic

MathHelper.SmoothStep Method

Interpolates between two values using a cubic equation.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public static float SmoothStep (
         float value1,
         float value2,
         float amount
)

Parameters

value1
Type: Single
Source value.
value2
Type: Single
Source value.
amount
Type: Single
Weighting value.

Return Value

Interpolated value.
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.