MathHelper.Hermite Method
Performs a Hermite spline interpolation.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public static float Hermite (
float value1,
float tangent1,
float value2,
float tangent2,
float amount
)
Parameters
- value1
Source position. - tangent1
Source tangent. - value2
Source position. - tangent2
Source tangent. - amount
Weighting factor.
Return Value
The result of the Hermite spline interpolation.
See Also
Reference
MathHelper Class
MathHelper Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista