Curve Class (Microsoft.Xna.Framework)
Contains a collection of CurveKey points in 2D space and provides methods for evaluating features of the curve they define.
- C#
- VB
- F#
[DataContractAttribute] public class Curve
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
The Curve type exposes the following members.
Platforms | Name | Description | |
---|---|---|---|
IsConstant | Returns |
||
Keys | The collection of curve keys. | ||
PostLoop | Defines how to handle weighting values that are greater than the last control point in the curve. | ||
PreLoop | Defines how to handle weighting values that are less than the first control point in the curve. |
Platforms | Name | Description | |
---|---|---|---|
Clone | Creates a copy of this curve. | ||
ComputeTangent(int, CurveTangent) | Computes tangent for the specific key in the collection. | ||
ComputeTangent(int, CurveTangent, CurveTangent) | Computes tangent for the specific key in the collection. | ||
ComputeTangents(CurveTangent) | Computes tangents for all keys in the collection. | ||
ComputeTangents(CurveTangent, CurveTangent) | Computes tangents for all keys in the collection. | ||
Evaluate | Evaluate the value at a position of this Curve. |
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web