CurveKey Class (Microsoft.Xna.Framework)

Key point on the Curve.
System.Object
   Microsoft.Xna.Framework.CurveKey

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.619)
  • C#
  • VB
  • F#
[DataContractAttribute]
public class CurveKey : IEquatable<CurveKey>, IComparable<CurveKey>

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The CurveKey type exposes the following members.

  Platforms Name Description
CurveKey() Creates a new instance of CurveKey class with position: 0 and value: 0. 
CurveKey(float, float) Creates a new instance of CurveKey class. 
CurveKey(float, float, float, float) Creates a new instance of CurveKey class. 
CurveKey(float, float, float, float, CurveContinuity) Creates a new instance of CurveKey class. 
Top
  Platforms Name Description
Continuity Gets or sets the indicator whether the segment between this point and the next point on the curve is discrete or continuous. 
Position Gets a position of the key on the curve. 
TangentIn Gets or sets a tangent when approaching this point from the previous point on the curve. 
TangentOut Gets or sets a tangent when leaving this point to the next point on the curve. 
Value Gets a value of this point. 
Top
  Platforms Name Description
Clone Creates a copy of this key. 
CompareTo  (Implements IComparable<T>.CompareTo().)
Equals(CurveKey)  (Implements IEquatable<T>.Equals().)
Equals(object)  (Overrides object.Equals().)
GetHashCode  (Overrides object.GetHashCode().)
Top
  Platforms Name Description
Inequality Compares whether two CurveKey instances are not equal. 
Equality Compares whether two CurveKey instances are equal. 
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web