Method ConformNormals
ConformNormals(ProBuilderMesh, IEnumerable<Face>)
Ensures that all adjacent face normals are pointing in a uniform direction. This function supports multiple islands of connected faces, but it may not unify each island the same way.
This is equivalent to the Conform Normals (Faces) action.
Declaration
public static ActionResult ConformNormals(this ProBuilderMesh mesh, IEnumerable<Face> faces)
Parameters
Type | Name | Description |
---|---|---|
ProBuilderMesh | mesh | The mesh that the faces belong to. |
IEnumerable<Face> | faces | The faces to make uniform. |
Returns
Type | Description |
---|---|
ActionResult | The result of the action. |