UUserInterfaceSettings::GetDPIScaleBasedOnSize

Gets the current scale of the UI based on the size of a viewport

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Engine/UserInterfaceSettings.h"

Source

/Engine/Source/Runtime/Engine/Private/UserInterfaceSettings.cpp

Syntax

float GetDPIScaleBasedOnSize
(
    FIntPoint Size
) const

Remarks

Gets the current scale of the UI based on the size of a viewport

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