Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/UserInterfaceSettings.h |
Include |
#include "Engine/UserInterfaceSettings.h" |
enum EUIScalingRule
{
ShortestSide,
LongestSide,
Horizontal,
Vertical,
ScaleToFit,
Custom,
}
Name |
Description |
---|---|
ShortestSide |
Evaluates the scale curve based on the shortest side of the viewport. |
LongestSide |
Evaluates the scale curve based on the longest side of the viewport. |
Horizontal |
Evaluates the scale curve based on the X axis of the viewport. |
Vertical |
Evaluates the scale curve based on the Y axis of the viewport. |
ScaleToFit |
ScaleToFit - Does not use scale curve. |
Custom |
Custom - Allows custom rule interpretation. |
The Side to use when scaling the UI.