I dont know how add some text info to screenshot. Maybe have are few ways to do screenshots in game? I know and use only one
But this node ignore PrintString, widgets and make single render.
P.S. Sorry for may bad english)
I dont know how add some text info to screenshot. Maybe have are few ways to do screenshots in game? I know and use only one
But this node ignore PrintString, widgets and make single render.
P.S. Sorry for may bad english)
The most common way, is by enabling some UI elements (probably UMG will be fine), and disable them again after the “Execute Console Command”.
-m
I tryed this, dont work. Comand highresshot ignores widget.
UMG doesnt show up with highresshot and Matinee renders. Try making a HUD BP for it.
create HUD BP, add simple function
result is same, maybe i don’t understand what you mean?
Theres legacy HUD system that comes from older version of engines and it was only way to do HUD before UMG got released (well there is Slate, but it’s a lot more complicated and C++ only, thats why UMG based on Slate was made). It’s canvas based, you draw 2D shapes on every frame using draw functions, on each frame it’s cleared and drew again.
First you need to create HUD class, you wont see it in class selection menu by default you need to click View all classes so you can see class tree.
In it you place DrawHUD event:
And from that event you call draw functions to draw your HUD, this even is called on every frame, on every frame canvas is cleared so you draw like there nothing on screen. Here you got list of nodes since you might get lost in API refrence:
To add HUD in to the game, you need to select HUD class in GameMode class, engine will automatically initiate it when that game mode will be on:
It’s work!! Thank you, you saved me many time for sleeping!)