Vector3.Hermite Method (Microsoft.Xna.Framework)

Creates a new Vector3 that contains hermite spline interpolation.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.362)
  • C#
  • VB
  • F#
public static void Hermite(
	Vector3 value1, 
	Vector3 tangent1, 
	Vector3 value2, 
	Vector3 tangent2, 
	float amount, 
	out Vector3 result
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

value1
Type: Microsoft.Xna.Framework.Vector3
The first position vector.
tangent1
Type: Microsoft.Xna.Framework.Vector3
The first tangent vector.
value2
Type: Microsoft.Xna.Framework.Vector3
The second position vector.
tangent2
Type: Microsoft.Xna.Framework.Vector3
The second tangent vector.
amount
Type: System.Single
Weighting factor.
result
Type: out Microsoft.Xna.Framework.Vector3
The hermite spline interpolation vector as an output parameter.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web