Curve.ComputeTangents Method (CurveTangent, CurveTangent)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Computes all tangents for all CurveKeys in this Curve, using different tangent types for TangentOut and TangentIn.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)
Syntax
'Declaration
Public Sub ComputeTangents ( _
tangentInType As CurveTangent, _
tangentOutType As CurveTangent _
)
public void ComputeTangents(
CurveTangent tangentInType,
CurveTangent tangentOutType
)
Parameters
- 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.