MeshHelper Members

The following tables list the members exposed by the MeshHelper type.

Public Methods

Name Description
Public Method Static CalculateNormals Computes new normals for the specified mesh.
Public Method Static CalculateTangentFrames Compute tangent frames for the given mesh.
Public Method Static FindSkeleton Searches for the root bone of the contained skeleton.
Public Method Static FlattenSkeleton Gets a flattened list of all bones contained by the specified skeleton.
Public Method Static MergeDuplicatePositions Processes the PositionCollection collection of the specified mesh, merging any values that are closer together than the specified tolerance threshold.
Public Method Static MergeDuplicateVertices Overloaded. Processes the Indices and VertexChannel data of the specified mesh or geometry batch, merging any duplicate vertices.
Public Method Static OptimizeForCache Reorders the indices and vertices of the mesh for optimal GPU cache performance.
Public Method Static SwapWindingOrder Reverses the triangle winding order of the specified mesh.
Public Method Static TransformScene Applies a transformation to the contents of a scene hierarchy.

See Also

Reference

MeshHelper Class
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace