I am not wondering about the editor viewport but the Class Viewport that controls the screen resolution of the game you are making. I want to give my players the ability to change it from one setting say 800x600 to something like 1920x1080 or any range in between that they prefer to play one for their system. However, I am unable to locate any tutorials on how to accomplish said task and am at a loss for figuring it out myself. Any help here would be greatly appreciate.
I am wanting to give players the ability to do it though. I have an options menu setup with a slider bar that I want to give the player the ability to change the resolution. Will this do the same thing?
Define a slider in UMG with a set of preset resolutions, 1440x900 1600x900 1920x1080 etc. And depending on the selected cause use “Execute Console Command” in Blueprints and set r.setRes equal to the resolution specified.