MathHelper.Hermite Method (Microsoft.Xna.Framework)

Performs a Hermite spline interpolation.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.619)
  • 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.Single
The result of the Hermite spline interpolation.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web