How to set the screen size and picture quality in UE4

How to set the screen size and picture quality in UE4

Match screen size

foreword

We often need to match the UI to the screen size of certain devices, and we need to set the UI size for the device in the project settings when packaging.
The official gives a sample
https://docs.unrealengine.com/en-us/Engine/UMG/HowTo/ScalingUI
In the sample, the main point is that we need to set a standard screen size as a benchmark, and then Conversion adjustments are made on this basis.
How to adjust it?

set up

First find the place where the rules are set
insert image description here
as shown in the figure. The two boxes I circled are what we need to set.
DPI Scale Rule:
The first box is to set the rules, there are shortest side, longest side, horizontal, vertical and custom. We choose to use the shortest side as our calculation rule
insert image description here
DPI Curve:
as shown in the second box, after we select one of the points, the value set at this point will appear. We adjust by modifying this value.
insert image description here
Example:
When setting the size of our umg, select a target size.
insert image description here
After the selection is completed, the size will be seen in the viewport. After we set this size, the shortest side is 750, and the displayed ui is generated with this size. The next step is to make changes in the project settings.
insert image description here
after change
insert image description here

This matches our screen.

Quality settings

We also need to adjust the definition of the picture quality after packaging.
We make adjustments for the platform
https://docs.unrealengine.com/en-us/Platforms/DeviceProfiles
For example, if I want to improve the definition on Android, then find the Android settings and set the lowest level of image quality,
insert image description here
insert image description here
insert image description here

set to 1 or 2

Guess you like

Origin blog.csdn.net/tianxiaojie_blog/article/details/85779379