Vector3.Hermite Method (Microsoft.Xna.Framework)
Creates a new Vector3 that contains hermite spline interpolation.
- 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.Vector3The hermite spline interpolation vector.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web