Stretching Standalone Game Window

TL;DR: I’m looking for a way to stretch the resolution of a standalone game with the size of its window. (thought I’d put this first for obvious reasons)

Detailed Explanation:
I am currently working on a WPF project in Visual Studio that will be hosting a UE4 standalone window. The project has 3D avatar customization functionality, which we are using the standalone to displayed the avatar in a portion of the project’s entire window.

The reason I want to scale the window is that the project has a background that, by default, doesn’t match up with the standalone’s. I’ve tried changing the the camera mode to orthographic and adjusting the aspect ratio, but nothing seemed to make it match up. However, testing some options for scaling the image, I found that if I am able to scale the window as well as the resolution, I can achieve the desired result.

The only downside is that when I resize the hosted window, black boxes appear to the sides to maintain the aspect ratio (regardless of whether the camera has this option checked or not).

If there is a way to get rid of the black boxes and stretch the resolution, it would be that last obstacle (of which there were many) to getting this project done and over with. Help is wanted and welcome!

Why I don’t just build the application in Unreal?
Well, the program needs to run on potato machines and it’s barely meeting performance needs with the addition of the standalone window. Building a full interface would be too costly and the app wouldn’t be able to efficiently run on the designated platform.

Here’s an example of what I’d like to achieve:

Hello MChirunga,

I have a few questions for you that will help clarify what it is exactly you would like to achieve.

Quick questions:

  1. Could you provide a screen shot of the issue running in standalone?
  2. Are you trying to get the background to fit the screen size no matter the size of the screen or are you trying to change the size of the screen to fit the background?
  3. Is the background in the world space or screen space?

Hello MChirunga,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.