API Referenceenginegraphicsthreethree_object_replace_materialsOn this pagethree_object_replace_materials three_object_replace_materials(root, replacement) Kind: global function ParamTyperootTHREE.Object3DreplacementTHREE.Material