0 out of 1 rated this helpful - Rate this topic

MathHelper.Hermite Method

Performs a Hermite spline interpolation.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public static float Hermite (
         float value1,
         float tangent1,
         float value2,
         float tangent2,
         float amount
)

Parameters

value1
Type: Single
Source position.
tangent1
Type: Single
Source tangent.
value2
Type: Single
Source position.
tangent2
Type: Single
Source tangent.
amount
Type: Single
Weighting factor.

Return Value

The result of the Hermite spline interpolation.
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ