Attempts to fix inconsistencies in the directions of mesh faces in a mesh. This function
does not modify mesh vertex normals, it rearranges the mesh face winding and face
normals to make them all consistent. Note, you may want to call Mesh.Normals.ComputeNormals()
to recompute vertex normals after calling this functions.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic int UnifyNormals()
Public Function UnifyNormals As Integer
Return Value
Type:
Int32number of faces that were modified.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also