So I am developing a VR app in Unreal and I'd like to give the user the ability to take a screenshot in game through the click of a button.
I am currently taking a screenshot through a console command but, it doesn't allow me to change the file location of where it goes. I don't think it will be intuitive enough to users to look into the AppData folder.
Is there a way to change this file location?
Does anyone know of any other ways to take a screenshot in game in Unreal Engine and save it to a folder or something similar?
Is there a function library or anything I can utilize?
I found a really easy way to change where the screenshot gets saved at. I was really surprised how easy it was actually. Essentially, all you have to do is add an argument to the console command.
HighResShot 1920x1080 filename="D:/Screenshots/screenshot.png"
However, you need to ensure that the file name is unique, otherwise it will just overwrite the screenshot every time.
I ended up just grabbing Time Now and appending the date inside of the screenshot name. So that it ended up looking something like this:
HighResShot 1920x1080 filename="D:/Screenshots/screenshot_2020-6-5-8-40-01.png"