UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UserInterfaceSettings.h File Reference
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "UObject/SoftObjectPath.h"
#include "Curves/CurveFloat.h"
#include "Engine/DeveloperSettings.h"
#include "Widgets/SWidget.h"
#include "UserInterfaceSettings.generated.h"

Go to the source code of this file.

Classes

struct  FHardwareCursorReference
 
class  UUserInterfaceSettings
 

Enumerations

enum class  ERenderFocusRule : uint8 { Always , NonPointer , NavigationOnly , Never }
 
enum class  EUIScalingRule : uint8 {
  ShortestSide , LongestSide , Horizontal , Vertical ,
  ScaleToFit , Custom
}
 
enum class  EFontDPI : uint8 { UMETA =(DisplayName = "72 DPI (Default)") , UMETA =(DisplayName = "96 DPI (Unreal Engine)") , UMETA =(Hidden) }
 

Enumeration Type Documentation

◆ EFontDPI

enum class EFontDPI : uint8
strong

The most used DPI value.

Enumerator
UMETA 

Best for working with with web-based design tools like Figma.

UMETA 

Resolution used internally by Unreal Engine.

UMETA 

◆ ERenderFocusRule

enum class ERenderFocusRule : uint8
strong

When to render the Focus Brush for widgets that have user focus. Based on the EFocusCause.

Enumerator
Always 

Focus Brush will always be rendered for widgets that have user focus.

NonPointer 

Focus Brush will be rendered for widgets that have user focus not set based on pointer causes.

NavigationOnly 

Focus Brush will be rendered for widgets that have user focus only if the focus was set by navigation.

Never 

Focus Brush will not be rendered.

◆ EUIScalingRule

enum class EUIScalingRule : uint8
strong

The Side to use when scaling the UI.

Enumerator
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. Emulates behavior of scale box by using DesignScreenSize and scaling the content relatively to it.

Custom 

Custom - Allows custom rule interpretation.