Hi,
What is a good way to support ultrawide monitors, 16:10 monitors and want a 16:9 output centered.
What is best way to render the game in the middle of the screen and add black bars on the sides for UltraWide monitors , or black bars top and bottom if on a 16:10 monitor when outputting at 2560x1440.
Thanks.
Hi,
The best way to achieve this would be to set the “Constrain Aspect Ratio” on your active camera, e.g. likely a camera component on your pawn for most of your game. This will add black bars either vertically or horizontally based on the current aspect ratio of the window.
On the UI side of things, there is no out of the box solution for this that I am aware of. It may be more or less of an issue for you, depending on what kind of UI you have and how it is anchored. If you are concerned about keeping your UI over the rendered camera view at all times, irrespective of aspect ratio, the best and most robust solution may be for you to implement your own kind of widget that acts similar to how a Safe Zone does, and keeps UI padded either vertically or horizontally based on the current aspect ratio. Alternatively, you may also be able to get away with simply tweaking how your UI is currently anchored. [This EPS [Content removed] goes into this topic in a bit more detail.
Thanks,
Hayden
Hi Hayden,
Thank for you for the info.
All up and working.
Best,
Simon