CurveKey Constructor (Single, Single, Single, Single, CurveContinuity)
Initializes a new instance of CurveKey.
Syntax
'Declaration
Public Sub New ( _
position As Single, _
value As Single, _
tangentIn As Single, _
tangentOut As Single, _
continuity As CurveContinuity _
)
public CurveKey (
float position,
float value,
float tangentIn,
float tangentOut,
CurveContinuity continuity
)
public:
CurveKey(
float position,
float value,
float tangentIn,
float tangentOut,
CurveContinuity continuity
)
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. - continuity
Type: CurveContinuity
Enum indicating whether the curve is discrete or continuous.
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