Export (0) Print
Expand All

Vector2.SmoothStep Method (Vector2, Vector2, Single)

Interpolates between two values using a cubic equation.

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

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

Parameters

value1
Source value.
value2
Source value.
amount
Weighting value.

Return Value

Interpolated value.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

ADD
Show:
© 2014 Microsoft