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.0.0+5bb1f71a933ed371a0f5f2d5e7db34c89b75f3ea
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