Method GetPerimeterEdges
GetPerimeterEdges(ProBuilderMesh, IEnumerable<Face>)
Returns all the edges that are on the perimeter of this set of selected faces.
Declaration
public static IEnumerable<Edge> GetPerimeterEdges(this ProBuilderMesh mesh, IEnumerable<Face> faces)
Parameters
Type | Name | Description |
---|---|---|
ProBuilderMesh | mesh | The mesh containing the faces. |
IEnumerable<Face> | faces | The faces to search for perimeter edge paths. |
Returns
Type | Description |
---|---|
IEnumerable<Edge> | A list of the edges on the perimeter of each group of adjacent faces. |