at the moment I’m working on a little software that makes it easy to view assets.
The viewport area shouldn’t take up the whole screen, but only a certain part of it, so that the settings can be seen on the right and the timeline on the bottom.
But I can’t find a way to limit the size of the viewport so that the focus point is not in the middle of the screen but in the middle of the viewport.
Hopefully the image will make it a bit more understandable what I mean exactly. The red line represents the center of the viewport.