Version: 
Back to list

Algo :: explodeVertexCount

Synopsis

   Explode parts to respect a maximum vertex count

GUI Dialog

   

Script function

   algo.explodeVertexCount(scenePaths, maxVertexCount, maxTriangleCount[, countMergedVerticesOnce]) -> assemblies

Parameters

   scenePaths (ScenePathList) : Scene paths of part to process
   maxVertexCount (Int) : The maximum number of vertices by part
   maxTriangleCount (Int) : The maximum number of triangles by part (quadrangles count twice)
   countMergedVerticesOnce (Boolean[optional] : If true, one vertex used in several triangles with different normals will be counted once (for Unity must be False)

Return value

   assemblies (AssemblyList) : The list of created assemblies