Method ExplodeByVertexCount
ExplodeByVertexCount(OccurrenceList, int, int, bool)
Explode part occurrences to respect a maximum vertex count
Declaration
[HandleProcessCorruptedStateExceptions]
public void ExplodeByVertexCount(OccurrenceList occurrences, int maxVertexCount, int maxTriangleCount, bool countMergedVerticesOnce = true)
Parameters
Type | Name | Description |
---|---|---|
OccurrenceList | occurrences | Part occurrences to process |
int | maxVertexCount | The maximum number of vertices by part |
int | maxTriangleCount | The maximum number of triangles by part (quadrangles count twice) |
bool | countMergedVerticesOnce | If true, one vertex used in several triangles with different normals will be counted once (for Unity must be False) |