M_Rhino_Geometry_Mesh_UnifyNormals - mcneel/rhinocommon-api-docs GitHub Wiki

Mesh.UnifyNormals Method

Attempts to fix inconsistencies in the directions of meshfaces for a mesh. This function does not modify the vertex normals, but rather rearranges the mesh face winding and face normals to make them all consistent. You may want to call Mesh.Normals.ComputeNormals() to recompute vertex normals after calling this functions.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public int UnifyNormals()

VB

Public Function UnifyNormals As Integer

Return Value

Type: Int32
number of faces that were modified.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Mesh Class
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️