requestFullscreen
Asynchronously requests the browser to enter fullscreen mode on the given element. If fullscreen mode is not supported by the browser, does nothing.
// Put the entire page into fullscreen.
Fullscreen.requestFullscreen(document.body)
// Place only the Cesium canvas into fullscreen.
Fullscreen.requestFullscreen(scene.canvas)
Content copied to clipboard
Parameters
element
The HTML element which will be placed into fullscreen mode.
vrDevice
The HMDVRDevice device.