FSlateApplication::GetApplicationScale

Gets the ratio SlateUnit / ScreenPixel.

Windows
MacOS
Linux

Override Hierarchy

FSlateApplicationBase::GetApplicationScale()

FSlateApplication::GetApplicationScale()

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h

Include

#include "Framework/Application/SlateApplication.h"

Syntax

virtual float GetApplicationScale() const

Remarks

Gets the ratio SlateUnit / ScreenPixel.

Returns

Application scale.

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