Version: 
Back to list

Scene :: getPolygonCount

Synopsis

   Returns the number of polygon in the parts tessellation

GUI Dialog

   

Script function

   scene.getPolygonCount(partPaths[, asTriangleCount[, countOnceEachInstance[, countHidden]]]) -> polygonCount

Parameters

   partPaths (ScenePathList) : The parts
   asTriangleCount (Bool[optional] : If true count the equivalent of triangles for each polygon
   countOnceEachInstance (Bool[optional] : If true ignore multiple instance of each tessellation
   countHidden (Bool[optional] : If true, also count hidden components

Return value

   polygonCount (Int) : The number of polygons