void RemoveFaces( IEnumerable<FaceHandle> hFaces )

book_4_sparkGenerated
code_blocksInput

Description

The RemoveFaces method is used to remove a collection of faces from a PolygonMesh. This operation modifies the mesh by deleting the specified faces, which are identified by their handles.

Usage

To use the RemoveFaces method, you need to provide an enumerable collection of FaceHandle objects that represent the faces you want to remove from the mesh. This method does not return a value.

Example

// Example of using RemoveFaces method

// Assume polygonMesh is an instance of PolygonMesh
// and faceHandles is a collection of FaceHandle objects

polygonMesh.RemoveFaces(faceHandles);