Curve.ComputeTangent Method (Microsoft.Xna.Framework)

Computes tangent for the specific key in the collection.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public void ComputeTangent(
	int keyIndex, 
	CurveTangent tangentType

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


Type: System.Int32
The index of a key in the collection.
Type: Microsoft.Xna.Framework.CurveTangent
The tangent type for both in and out.
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop