I have a Babylon canvas embedded into an HTML layout with a header and a sidebar overlaying the rendering canvas. I’d like to offset the scene’s main ArcRotateCamera relative to the canvas according to the following schematic:
I tried using the camera’s
targetScreenOffset property, which seems to work, but I’m not sure how to get the appropriate values for the correct offset.
Any help would be greatly appreciated!