How to create your first Scene in Playground
We will create our scenes, save and share them on playground.
BabylonJS Code
To create a basic BabylonJS scene, we initialize a scene, create camera, light and a mesh and return the scene object.
Scene object gets engine as the input argument. You don't have to worry about the engine when you are working on the playground but when you are working on your local code sample, we will create the engine as well.
Last updated