This method is also used to only make a small map. To display the screen captured by the camera to the ui,
it is now necessary to save the camera screen to the local
First of all, in order to achieve controllability. First create a new actor, then add a camera, and bind a SceneCaptureComponent2D component under the camera.
Similarly, to change the Render'Target and screenshot mode under this component,
you need to adjust the rendertarget settings. The encoding format is very important, and it must be adjusted correctly. Use
the method of saving the rendertarget that comes with the engine to save the picture.
Save it successfully to see the effect