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.398)
  • C#
  • VB
  • F#
public CurveKey(
	float position, 
	float value
)

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.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web