EUIScalingRule

The Side to use when scaling the UI.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/UserInterfaceSettings.h

Include

#include "Engine/UserInterfaceSettings.h"

Syntax

enum EUIScalingRule
{
    ShortestSide,
    LongestSide,
    Horizontal,
    Vertical,
    ScaleToFit,
    Custom,
}

Values

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.

Remarks

The Side to use when scaling the UI.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss