Method ExplodeVertexCount
ExplodeVertexCount(OccurrenceList, int, int, bool)
Explode parts to respect a maximum vertex count
Declaration
public void ExplodeVertexCount(OccurrenceList occurrences, int maxVertexCount, int maxTriangleCount, bool countMergedVerticesOnce = true)
Parameters
Type | Name | Description |
---|---|---|
OccurrenceList | occurrences | Occurrences of part 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) |