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.1082)
  • C#
  • VB
  • F#
public static Vector3 Hermite(
	Vector3 value1, 
	Vector3 tangent1, 
	Vector3 value2, 
	Vector3 tangent2, 
	float amount
)

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.

Return Value

Type: Microsoft.Xna.Framework.Vector3
The hermite spline interpolation vector.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web