This topic has not yet been rated - Rate this topic

MeshBuilder.FinishMesh Method

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)

public MeshContent FinishMesh ()

Return Value

Resultant mesh.

Once called, FinishMesh optimizes the related mesh by calling MergeDuplicateVertices. In addition, mesh normals are generated (by calling CalculateNormals) if none currently exist.

Bb196910.note(en-US,XNAGameStudio.10).gifNote
The related MeshBuilder object can no longer be used after this function is called.

Windows XP SP2, Windows Vista

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.