With multiple Scenes on the page, you can control what loads where
(a)
(b)
To load a Scene by ID use the loadSceneByID() command. The Scene ID can be found in the embed code (the 7th parameter).
The function sceneChange() calls the selectPortal() function and determines which portal the Scene loads into when the loadSceneByID() function is called.
A “portal” is what we call the space on the page created by the embed code, to be used for loading a Scene into. In this example the Scenes specified by the
embed code first loads into the two portals.