Class QuadUtility
Provides a helper function to manage converting triangulated polygons to quads.
Inherited Members
Namespace: UnityEngine.ProBuilder.MeshOperations
Assembly: Unity.ProBuilder.dll
Syntax
public static class QuadUtility
Methods
ToQuads(ProBuilderMesh, IList<Face>, bool)
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. |
bool | smoothing | True to apply smoothing. |
Returns
Type | Description |
---|---|
List<Face> | A list of the processed faces. |