Method GetPolygonCount
GetPolygonCount(OccurrenceList, bool, bool, bool)
Returns the number of polygon in the parts meshes
Declaration
public int GetPolygonCount(OccurrenceList occurrences, bool asTriangleCount = false, bool countOnceEachInstance = false, bool countHidden = false)
Parameters
Type | Name | Description |
---|---|---|
OccurrenceList | occurrences | The part occurrences |
bool | asTriangleCount | If true count the equivalent of triangles for each polygon |
bool | countOnceEachInstance | If true ignore multiple instance of each tessellation |
bool | countHidden | If true, also count hidden components |
Returns
Type | Description |
---|---|
int |