I’m trying to code some python to take a screenshot of the editor with the UI. I am calling this function like this…
unreal.AutomationLibrary.take_automation_screenshot_of_ui(unreal.EditorLevelLibrary.get_editor_world(), latent_info = ], name = “screenshot.png”, options = ])
I am looking at the documentation here, https://docs.unrealengine.com/en-US/…onLibrary.html, but it’s still not clear what I should pass in for latent_info or for options. I passed empty lists because I didn’t know what else to do. It’s not erroring out, but it’s also not making any screenshots.
What is latent_info? What should I pass in as options?