SDPIScaler::FArguments::DPIScale

The scaling factor between Pixels and Slate Units (SU).

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SDPIScaler.h

Include

#include "Widgets/Layout/SDPIScaler.h"

Syntax

WidgetArgsType & DPIScale
(
    const TAttribute< float > & InAttribute
)

Remarks

The scaling factor between Pixels and Slate Units (SU). For example, a value of 2 means 2 pixels for every linear Slate Unit and 4 pixels for every square Slate Unit.

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