Table of Contents

Enum CurveTangent

Namespace
Microsoft.Xna.Framework
Assembly
MonoGame.Framework.dll

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

public enum CurveTangent

Fields

Flat = 0

The tangent which always has a value equal to zero.

Linear = 1

The tangent which contains a difference between current tangent value and the tangent value from the previous CurveKey.

Smooth = 2

The smoouth tangent which contains the inflection between TangentIn and TangentOut by taking into account the values of both neighbors of the CurveKey.