材质想要改变边框颜色,脚本怎么编辑?
let material = scene.getMaterialByID('材质 id');
material.outlineColor = new J3D.Color3(1, 1, 1);
更多脚本可以参照J3D操作手册。
let material = scene.getMaterialByID('材质 id');
material.outlineColor = new J3D.Color3(1, 1, 1);
更多脚本可以参照J3D操作手册。