Class QuadUtility
Provides a helper function to manage converting triangulated polygons to quads.
Inherited Members
Namespace: UnityEngine.ProBuilder.MeshOperations
Syntax
public static class QuadUtility
Methods
ToQuads(ProBuilderMesh, IList<Face>, Boolean)
Converts the faces to quads if possible.
Declaration
public static List<Face> ToQuads(this ProBuilderMesh mesh, IList<Face> faces, bool smoothing = true)
Parameters
| Type | Name | Description |
|---|---|---|
| ProBuilderMesh | mesh | The source mesh. |
| IList<Face> | faces | The list of faces to process. |
| Boolean | smoothing | True to apply smoothing. |
Returns
| Type | Description |
|---|---|
| List<Face> | A list of the processed faces. |