CurveKey Class

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Represents a point in a multi-point curve.

Inheritance Hierarchy

System.Object
  Microsoft.Xna.Framework.CurveKey

Namespace:  Microsoft.Xna.Framework
Assembly:  Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)

Syntax

'Declaration
Public Class CurveKey
public class CurveKey

The CurveKey type exposes the following members.

Constructors

  Name Description
Public method CurveKey(Single, Single) Initializes a new instance of CurveKey.
Public method CurveKey(Single, Single, Single, Single) Initializes a new instance of CurveKey.
Public method CurveKey(Single, Single, Single, Single, CurveContinuity) Initializes a new instance of CurveKey.

Top

Properties

  Name Description
Public property Continuity Describes whether the segment between this point and the next point in the curve is discrete or continuous.
Public property Position Position of the CurveKey in the curve.
Public property TangentIn Describes the tangent when approaching this point from the previous point in the curve.
Public property TangentOut Describes the tangent when leaving this point to the next point in the curve.
Public property Value Describes the value of this point.

Top

Methods

  Name Description
Public method Clone Creates a copy of the CurveKey.
Public method CompareTo Compares this instance to another CurveKey and returns an indication of their relative values.
Public method Equals(Object) Returns a value that indicates whether the current instance is equal to a specified object. (Overrides Object.Equals(Object).)
Public method Equals(CurveKey) Determines whether the specified Object is equal to the CurveKey.
Public method GetHashCode Returns the hash code for this instance. (Overrides Object.GetHashCode().)

Top

Operators

  Name Description
Public operatorStatic member Equality Determines whether two CurveKey instances are equal.
Public operatorStatic member Inequality Determines whether two CurveKey instances are not equal.

Top

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.