Version: 
Back to list
Scene :: replaceMaterial
Synopsis
   Replace a material by another everywhere it is usedGUI Dialog
   
Script function
   scene.replaceMaterial(originalMaterial, newMaterial)Parameters
   originalMaterial (Material
) : The material to replace everywhere
   newMaterial (Material
) : The new material to set in place of originalMaterial