geometry_split_mesh
Splits the input mesh into multiple meshes based on the material index of each primitive. New meshes will be given the same name as the input mesh with a numeric suffix attached to the end. If the input mesh does not have material indices then no action will be taken and an error will be returned.
arguments
- "mesh_name" : String
Name of the mesh object. Must be a Triangle_mesh or Polygon_mesh object.
return value
String[]Names of the new meshes that have been created.