CurveKey.CurveKey Method (Microsoft.Xna.Framework)

Creates a new instance of CurveKey class.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.796)
  • C#
  • VB
  • F#
public CurveKey(
	float position, 
	float value, 
	float tangentIn, 
	float tangentOut, 
	CurveContinuity continuity
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

position
Type: System.Single
Position on the curve.
value
Type: System.Single
Value of the control point.
tangentIn
Type: System.Single
Tangent approaching point from the previous point on the curve.
tangentOut
Type: System.Single
Tangent leaving point toward next point on the curve.
continuity
Type: Microsoft.Xna.Framework.CurveContinuity
Indicates whether the curve is discrete or continuous.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web