MeshBuilder.AddTriangleVertex Method (Microsoft.Xna.Framework.Content.Pipeline.Graphics)

Adds a vertex into the index collection.

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 void AddTriangleVertex(
	int indexIntoVertexCollection
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

indexIntoVertexCollection
Type: System.Int32
Index of the inserted vertex, in the collection. This corresponds to the value returned by CreatePosition(float, float, float).
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop