Table of Contents

Property DegenerateTriangleCount

Namespace
Box3D
Assembly
Box3D.NET.dll

DegenerateTriangleCount

Gets the number of degenerate triangles found while building, which were discarded.

public int DegenerateTriangleCount { get; }

Property Value

int

Remarks

A non-zero count usually means the source geometry has zero-area triangles. They are skipped rather than rejected, so this is worth checking when a mesh does not collide where you expect.

Exceptions

ObjectDisposedException

The mesh has been disposed.