Sdílet prostřednictvím


Curve.ComputeTangents Method (CurveTangent, CurveTangent)

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 (in microsoft.xna.framework.dll)

Syntax

public void ComputeTangents (
         CurveTangent tangentInType,
         CurveTangent tangentOutType
)

Parameters

  • tangentInType
    The type of TangentIn to compute (one of the types specified in the CurveTangent enumeration).
  • tangentOutType
    The type of TangentOut to compute (one of the types specified in the CurveTangent enumeration).

See Also

Reference

Curve Class
Curve Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista