Share via


CurveKey Constructor (Single, Single)

Initializes a new instance of CurveKey.

Syntax

'Declaration
Public Sub New ( _
         position As Single, _
         value As Single _
)
public CurveKey (
         float position,
         float value
)
public:
CurveKey(
         float position,
         float value
)

Parameters

  • position
    Type: Single
    Position in the curve.
  • value
    Type: Single
    Value of the control point.

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

CurveKey Class
CurveKey Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone