Vector2SmoothStep(Vector2, Vector2, Double) Method |
Creates a new
Vector2 that contains cubic interpolation of the specified vectors.
Namespace: CFX.Structures.GeometryAssembly: CFX (in CFX.dll) Version: 2.1.1+880255d2f7380f340f56b243a51d99f2136bdae3
Syntaxpublic static Vector2 SmoothStep(
Vector2 value1,
Vector2 value2,
double amount
)
Public Shared Function SmoothStep (
value1 As Vector2,
value2 As Vector2,
amount As Double
) As Vector2
Parameters
- value1 Vector2
- Source Vector2.
- value2 Vector2
- Source Vector2.
- amount Double
- Weighting value.
Return Value
Vector2Cubic interpolation of the specified vectors.
See Also