MeshExtensions

Static Class in Zigurous.Graphics

Declaration

public static class MeshExtensions

Description

Extension methods for meshes.

Extension Methods

SaveSaves the mesh as a project asset (Editor only).
CopyReturns a new copy of the mesh.
InvertNormalsInverts the normals of the mesh.
InvertedNormalsReturns an array of inverted normals of the mesh.
InvertTrianglesInverts the triangles of the mesh.
InvertedTrianglesReturns an array of inverted triangles of the mesh.
RecalculateUVCalculates and assigns the UV coordinates of the mesh using its verticies.