Navigation
API > API/Runtime > API/Runtime/Engine
The Side to use when scaling the UI.
| Name | EUIScalingRule |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/UserInterfaceSettings.h |
| Include Path | #include "Engine/UserInterfaceSettings.h" |
Syntax
enum EUIScalingRule
{
ShortestSide,
LongestSide,
Horizontal,
Vertical,
ScaleToFit,
Custom,
}
Values
| Name | Remarks |
|---|---|
| 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. |