CurveKey Constructor (Single, Single, Single, Single)
Initializes a new instance of CurveKey.
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
)
public:
CurveKey(
float position,
float value,
float tangentIn,
float tangentOut
)
Parameters
- position
Type: Single
Position in the curve. - value
Type: Single
Value of the control point. - tangentIn
Type: Single
Tangent approaching point from the previous point in the curve. - tangentOut
Type: Single
Tangent leaving point toward next point in the curve.
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