[Question] UMG - Viewport Widget

Hey folks,

i just found during the wrap with… a Widget called Viewport and even if its experimental i would like to know if someone got this to work, that he is able to render a scene.

I looked inside the Viewport.h but it is not telling me anything except for set Rotation and Location.

So how is this widget intended to work?

regards

Its essentially a ‘pocket world’.
Once you’ve added it to your UMG widget, you can spawn actors inside this pocketworld like you would the regular world.
The image produced by the viewport widget is then based on what it can see by the view location & rotation you set, compared to what and where you placed inside it.

The original version didn’t support a transparent background, making its usefulness limited if you wanted to render real world stuff behind it.
Otherwise, quite handy :slight_smile:

So i would need to spawn lighting and stuff inside that “pocket world”? is there some kind of example to get a better idea of how to handle that?

thanks for the answer btw^^

I can’t seem to find the way to wrap anything with viewport, which widget type are you able to wrap that way?

Edit: It looks like it’s a legacy feature and not in 4.7. That makes me sad