MathHelper.Hermite Method (Microsoft.Xna.Framework)
Performs a Hermite spline interpolation.
- C#
- VB
- F#
public static float Hermite( float value1, float tangent1, float value2, float tangent2, float amount )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- value1
-
Type: System.Single
Source position.
- tangent1
-
Type: System.Single
Source tangent.
- value2
-
Type: System.Single
Source position.
- tangent2
-
Type: System.Single
Source tangent.
- amount
-
Type: System.Single
Weighting factor.
Return Value
Type: System.SingleThe result of the Hermite spline interpolation.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web