How to make a 2D menu that displays 3D elements

I’m wanting to make a UI screen somewhat like what super mario odyssey or pokemon sword/shield are accomplishing right now where they seem to have a 2D UI foreground, a 3D element and a 2D UI background
somewhat like this

where we have a 2D menu, a 3D element and a 2D background

I’m not asking for the logic of the menu or how to actually create the UI design, what I’m really asking is how can I have a 3D mesh, character or whatever mixed in with my widgets like that?

or maybe another approach is to ask, how can I impose a 3D element over a widget that is added to the screen?

I’ve thought of layering the elements, adding a foreground widget with all the menus, then a 3D mesh with a camera attached but then how would I add the background widget?

Render Targets

You create a nicely lit room for the 3d creature, add a camera and then render what the camera sees to a texture. Use the texture in a material displayed by an UMG element. That’s the gist.

Docs:

A quick YT search:


Or something non-YT:

Thanks for the help, render targets are actually what I was looking for

In the Render Targets solution, you need to generate all objects in the main scene at the same time, and their lights may affect each other. I have developed a plugin that makes working more easier,In this solution, each UMG view component contains an FPreviewScene object, and they each have an independent UWorld objects,they will not affect each other or the main scene.
https://www.unrealengine.com/marketplace/zh-CN/product/b93b1c54b46a49d1bad5550d831a3a60