ros3djs
ros3djs copied to clipboard
Adaptative Viewer
The current options for the size of the viewer are width and height. Is there a way to make a viewer adaptative ? I mean display all the viewer even if the size of the screen changes.
Example : I used width : 2000 and height : 1338. This permits me to see the scene on the whole screen when it is extended but not when I reduce it
I've solved this in my app code. You'll have to detect resize changes to the DOM, then call viewer.resize(width, height).