I believe the “shot” command also captures the UI
Standard Screenshot
The standard screenshot feature is available via the console command Shot (default key binding is F9). It can generate screenshots at the size of the screen resolution (or window resolution if the game is running in windowed mode).