CurveKey Constructor (Single, Single, Single, Single)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Initializes a new instance of CurveKey.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)
Syntax
'Declaration
Public Sub New ( _
position As Single, _
value As Single, _
tangentIn As Single, _
tangentOut As Single _
)
public CurveKey(
float position,
float value,
float tangentIn,
float tangentOut
)
Parameters
- position
Type: System.Single
Position in the curve.
- value
Type: System.Single
Value of the control point.
- tangentIn
Type: System.Single
Tangent approaching point from the previous point in the curve.
- tangentOut
Type: System.Single
Tangent leaving point toward next point in the curve.
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.