Changing default Babylon Viewer settings

<babylon extends="minimal" model="https://playground.babylonjs.com/scenes/dummy3.babylon"></babylon>

Below is another example of using DOM element configuration.

<babylon extends="minimal">
    <model url="https://playground.babylonjs.com/scenes/dummy3.babylon">
    </model>
    <camera>
        <behaviors>
            <auto-rotate type="0"></auto-rotate>
        </behaviors>
    </camera>
    <lights>
        <light1 type="0" shadow-enabled="false">
        </light1>
    </lights>
</babylon>

Leave a Reply