Freigeben über


Curve.ComputeTangent Method (Int32, CurveTangent)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Computes both the TangentIn and the TangentOut for a CurveKey specified by its index.

Namespace:  Microsoft.Xna.Framework
Assembly:  Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)

Syntax

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

Parameters

Exceptions

Exception Condition
ArgumentOutOfRangeException

keyIndex is not a valid index.

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.