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 | |
---|---|---|
CurveKey(Single, Single) | Initializes a new instance of CurveKey. | |
CurveKey(Single, Single, Single, Single) | Initializes a new instance of CurveKey. | |
CurveKey(Single, Single, Single, Single, CurveContinuity) | Initializes a new instance of CurveKey. |
Top
Properties
Name | Description | |
---|---|---|
Continuity | Describes whether the segment between this point and the next point in the curve is discrete or continuous. | |
Position | Position of the CurveKey in the curve. | |
TangentIn | Describes the tangent when approaching this point from the previous point in the curve. | |
TangentOut | Describes the tangent when leaving this point to the next point in the curve. | |
Value | Describes the value of this point. |
Top
Methods
Name | Description | |
---|---|---|
Clone | Creates a copy of the CurveKey. | |
CompareTo | Compares this instance to another CurveKey and returns an indication of their relative values. | |
Equals(Object) | Returns a value that indicates whether the current instance is equal to a specified object. (Overrides Object.Equals(Object).) | |
Equals(CurveKey) | Determines whether the specified Object is equal to the CurveKey. | |
GetHashCode | Returns the hash code for this instance. (Overrides Object.GetHashCode().) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Determines whether two CurveKey instances are equal. | |
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.