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