three.js 之旅 (五)--跟场景scene相关的函数

1.scene.add(obj);   在场景中添加物体

2.scene.remove(obj);   在场景中移除物体

3.scene.children();  获取场景中所有子对象的列表

4.scene.getChildByName();  利用name属性,获取场景中某个特定的物体

原文地址:https://www.cnblogs.com/ssrsblogs/p/5627373.html