How hide all UMG in my gameviewport.

Now I have record a video at runtime , but i can’t hide UMG , maybe I could get all UMG and set visibility . but that’s bad to my project . So I want to use the unreal existing mechanism to achieve it . How to do it?

Try GetGameViewportWidget an see if you can achieve something with that.

I gues there is also an option to not capture UI with the UMovieSceneCapture settings

EDIT
https://www.google.de/amp/s/amp.reddit.com/r/unrealengine/comments/3os6hx/hidingunhiding_all_widgets/

1 Like

Perhaps my description is not clear enough . just like unreal’s “highresShot” . Rather than adjusting UMG’s visibility on the viewport , UMG is not saved during screenshots . That means I don’t want to record UMG when recording video.

There should be an option in UMovieSceneCapture

Alternatively you can look into the HighResShot and look for the rendering command used. You will then need to somehow apply that to UMovieSceneCapture.