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

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

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

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

相关文章:

  • 2022-01-01
  • 2023-03-28
  • 2021-11-14
  • 2021-06-13
  • 2021-11-03
猜你喜欢
  • 2021-10-17
  • 2022-01-06
  • 2021-06-28
  • 2021-04-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案