MeshHelper.CalculateTangentFrames Method (Microsoft.Xna.Framework.Content.Pipeline.Graphics)


Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public static void CalculateTangentFrames(
	IList<Vector3> positions, 
	IList<int> indices, 
	IList<Vector3> normals, 
	IList<Vector2> textureCoords, 
	out Vector3[] tangents, 
	out Vector3[] bitangents
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

positions
Type: IList<Vector3>
indices
Type: IList<System.Int32>
normals
Type: IList<Vector3>
textureCoords
Type: IList<Vector2>
tangents
Type: out Microsoft.Xna.Framework.Vector3[]
bitangents
Type: out Microsoft.Xna.Framework.Vector3[]
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop