extensions

Viewer examples


Viewer examples

This section holds a list of the current demos of the viewer

Basic usage

https://github.com/BabylonJS/Babylon.js/blob/master/Viewer/dist/basicExample.html

A basic example of loading a .babylon model with the default configuration.

Live demo

DOM configuration

https://github.com/BabylonJS/Babylon.js/blob/master/Viewer/dist/domExample.html

An example on how to use the DOM to configure the viewer

Live demo

Events example

https://github.com/BabylonJS/Babylon.js/blob/master/Viewer/dist/eventsExample.html

An example on how to load the viewer and use its observers using promises, observables and callbacks.

Live demo