Click or drag to resize

MeshUnifyNormals Method (Boolean)

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)
Syntax
public int UnifyNormals(
	bool countOnly
)

Parameters

countOnly
Type: SystemBoolean
If true, then only the number of faces that would be modified is determined.

Return Value

Type: Int32
If countOnly=false, the number of faces that were modified. If countOnly=true, the number of faces that would be modified.
Version Information

Rhino for Windows

Supported in: 6.6
See Also