MeshBuilder Class (Microsoft.Xna.Framework.Content.Pipeline.Graphics)

System.Object
   Microsoft.Xna.Framework.Content.Pipeline.Graphics.MeshBuilder

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 sealed class MeshBuilder

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The MeshBuilder type exposes the following members.

  Platforms Name Description
MergeDuplicatePositions Gets or sets the current value for position merging of the mesh. 
MergePositionTolerance Gets or sets the tolerance for MergeDuplicatePositions
Name Gets or sets the name of the current MeshContent object being processed. 
SwapWindingOrder Reverses the triangle winding order of the specified mesh. 
Top
  Platforms Name Description
AddTriangleVertex Adds a vertex into the index collection. 
CreatePosition(float, float, float) Inserts the specified vertex position into the vertex channel. 
CreatePosition(Vector3) Inserts the specified vertex position into the vertex channel at the specified index. 
CreateVertexChannel<T>  
FinishMesh Ends the creation of a mesh. 
SetMaterial Sets the material for the next triangles. 
SetOpaqueData Sets the opaque data for the next triangles. 
SetVertexChannelData Sets the specified vertex data with new data. 
StartMesh Initializes the creation of a mesh. 
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop