Share via


Curve.ComputeTangent Method (Int32, CurveTangent, CurveTangent)

Computes a specified type of TangentIn and a specified type of TangentOut for a given CurveKey.

Syntax

'Declaration
Public Sub ComputeTangent ( _
         keyIndex As Integer, _
         tangentInType As CurveTangent, _
         tangentOutType As CurveTangent _
)
public void ComputeTangent (
         int keyIndex,
         CurveTangent tangentInType,
         CurveTangent tangentOutType
)
public:
void ComputeTangent(
         int keyIndex,
         CurveTangent tangentInType,
         CurveTangent tangentOutType
)

Parameters

Exceptions

Exception type Condition
ArgumentOutOfRangeException keyIndex is not a valid index.

Requirements

Namespace: Microsoft.Xna.Framework

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

See Also

Reference

Curve Class
Curve Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone