MeshBuilder.FinishMesh Method
XNA Game Studio Express
Ends the creation of a mesh.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Once called, FinishMesh optimizes the related mesh by calling MergeDuplicateVertices. In addition, mesh normals are generated (by calling CalculateNormals) if none currently exist.
Note |
|---|
| The related MeshBuilder object can no longer be used after this function is called. |
Note