CurveTangent Enumeration (Microsoft.Xna.Framework)

Defines the different tangent types to be calculated for CurveKey points in a Curve.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public enum CurveTangent

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The CurveTangent type exposes the following members.

  Platforms Name Description
Flat The tangent which always has a value equal to zero. 
Linear The tangent which contains a difference between current tangent value and the tangent value from the previous CurveKey
Smooth The smoouth tangent which contains the inflection between TangentIn and TangentOut by taking into account the values of both neighbors of the CurveKey
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop