Module |
|
Header |
/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericPlatformApplicationMisc.h |
Include |
#include "GenericPlatform/GenericPlatformApplicationMisc.h" |
Source |
/Engine/Source/Runtime/ApplicationCore/Private/GenericPlatform/GenericPlatformApplicationMisc.cpp |
static EScreenPhysicalAccuracy ConvertPixelsToInches
(
float Pixels,
float & OutInches
)
If we know or can approximate the pixel density of the screen we will convert the incoming pixels to inches on the device. If the accuracy is unknown OutInches will be set to 0.