Curve.ComputeTangent Method (Int32, CurveTangent, CurveTangent)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Computes a specified type of TangentIn and a specified type of TangentOut for a given CurveKey.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)
Syntax
'Declaration
Public Sub ComputeTangent ( _
keyIndex As Integer, _
tangentInType As CurveTangent, _
tangentOutType As CurveTangent _
)
public void ComputeTangent(
int keyIndex,
CurveTangent tangentInType,
CurveTangent tangentOutType
)
Parameters
- keyIndex
Type: System.Int32
The index of the CurveKey for which to compute tangents (in the Keys collection of the Curve).
- tangentInType
Type: Microsoft.Xna.Framework.CurveTangent
The type of TangentIn to compute (one of the types specified in the CurveTangent enumeration).
- tangentOutType
Type: Microsoft.Xna.Framework.CurveTangent
The type of TangentOut to compute (one of the types specified in the CurveTangent enumeration).
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.