Navigation
Unreal Engine C++ API Reference > Runtime > ApplicationCore > GenericPlatform > FGenericPlatformApplicationMisc
References
Module | ApplicationCore |
Header | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericPlatformApplicationMisc.h |
Include | #include "GenericPlatform/GenericPlatformApplicationMisc.h" |
template<typename T, typename T2, typename TEnableIf< TIsFloatingPoint< T >::Value &&TIsFloatingPoint< T2 >::Value, int >::type>
static EScreenPhysicalAccuracy ConvertInchesToPixels
&40;
T Inches,
T2 & OutPixels
&41;
Remarks
If we know or can approximate the pixel density of the screen we will convert the incoming inches to pixels on the device. If the accuracy is unknown OutPixels will be set to 0.