Version: 
Back to list

Scene :: cleanUnusedMaterials

Synopsis

   Remove unused materials from material library

GUI Dialog

   

Script function

   scene.cleanUnusedMaterials([cleanImages]) -> nbMaterialDeleted

Parameters

   cleanImages (Boolean[optional] : Call cleanUnusedImages if true

Return value

   nbMaterialDeleted (Int) : The number of material deleted by the clean