Class DeleteElements
Provides functions for removing vertices and triangles from a mesh.
Inherited Members
Namespace: UnityEngine.ProBuilder.MeshOperations
Assembly: Unity.ProBuilder.dll
Syntax
public static class DeleteElements
Methods
Name | Description |
---|---|
DeleteFace(ProBuilderMesh, Face) | Removes a face from a mesh. This is the equivalent of the Delete Faces action. |
DeleteFaces(ProBuilderMesh, IEnumerable<Face>) | Deletes a collection of faces from a mesh. This is the equivalent of the Delete Faces action. |
DeleteFaces(ProBuilderMesh, IList<int>) | Deletes a list of faces from a mesh. This is the equivalent of the Delete Faces action. |
DeleteVertices(ProBuilderMesh, IEnumerable<int>) | Deletes the vertices from the specified index array and rebuilds the sharedVertices array. |