I want to add buttons in my archviz program that saves screenshots at different resolutions (regardless of the game’s window size), in a directory of my choosing.
F9: Save screenshot at 1920x1080
F10: Save screenshot at 3840x2160
F11: Save screenshot at 7680x4320
One option is the HighResShot console command, but that doesn’t works in Shipping builds, and doesn’t lets you choose the file path.
Another is FScreenshotRequest::RequestScreenshot(), but that doesn’t lets you choose the resolution.
Actually, HighResShot console command does works in shipping builds, but still doesn’t lets you choose the destination. It always saves on LocalAppData/ProjectName/Saved/Screenshots.