FGenericPlatformApplicationMisc::ComputePhysicalScreenDensity

Gets the physical size of the screen if possible. Some platforms lie, some platforms don't know.

Windows
MacOS
Linux

References

Module

ApplicationCore

Header

/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericPlatformApplicationMisc.h

Include

#include "GenericPlatform/GenericPlatformApplicationMisc.h"

Source

/Engine/Source/Runtime/ApplicationCore/Private/GenericPlatform/GenericPlatformApplicationMisc.cpp

Syntax

static EScreenPhysicalAccuracy ComputePhysicalScreenDensity
(
    int32 & OutScreenDensity
)

Remarks

Gets the physical size of the screen if possible. Some platforms lie, some platforms don't know.

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