CurveKey Constructor (Single, Single, Single, Single, CurveContinuity)
Initializes a new instance of CurveKey.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public CurveKey (
float position,
float value,
float tangentIn,
float tangentOut,
CurveContinuity continuity
)
Parameters
- position
Position in the curve. - value
Value of the control point. - tangentIn
Tangent approaching point from the previous point in the curve. - tangentOut
Tangent leaving point toward next point in the curve. - continuity
Enum indicating whether the curve is discrete or continuous.
See Also
Reference
CurveKey Class
CurveKey Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista