A single button widget for toggling vr mode.
The scene.
The element or id to be placed into vr mode. Default value - document.body
document.body
Online Documentation
The DOM element that will contain the widget.
Gets the view model.
Destroys the widget. Should be called if permanently removing the widget from layout.