- {Element|String} container The DOM element or ID that will contain the widget.
- {Scene} scene The scene.
- {Element|String} [vrElement=document.body] The element or id to be placed into vr mode.
exception {DeveloperError} Element with id "container" does not exist in the document.
A single button widget for toggling vr mode.
alias VRButton
- {Element|String} container The DOM element or ID that will contain the widget. - {Scene} scene The scene. - {Element|String} [vrElement=document.body] The element or id to be placed into vr mode.
exception {DeveloperError} Element with id "container" does not exist in the document.