Why design to pass scene as a parameter into the object’s builder, rather than adding scene.add(obj) with scene like threejs?
Hello and welcome!
First of all, one engine can run multiple scenes - Using Multiple Scenes | Babylon.js Documentation
Using scene.add(obj)
can also support running multiple scenes;
No real reason other than requiring one line of code instead of two when creating an object.
3 Likes