Utility.CompactNormals Method

Removes orphan normals.
Public Shared Function CompactNormals( _ 
ByVal original As IList(Of Vector3D), _ 
ByVal triangles As IList(Of IndexTriangle), _ 
ByRef compacted As Vector3D() _ 
) As Integer
This language is not supported or no code example is available.
public static int CompactNormals( 
IList<Vector3D> original
IList<IndexTriangle> triangles
out Vector3D[] compacted 
)
This language is not supported or no code example is available.

Parameters

original
IList<Vector3D>

The list of original normals

triangles
IList<IndexTriangle>

The list of triangles

compacted
Vector3D[]

The list of compacted normals

Return Value

int

The number of orphan normals removed.

.NET Framework

Supported in: 4.8

In this article

Definition