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

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

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web