/Engine/Source/Runtime/UMG/Public/Blueprint/WidgetLayoutLibrary.h
Gets the current DPI Scale being applied to the viewport and all the Widgets.
static float GetViewportScale ( const [UGameViewportClient](API\Runtime\Engine\Engine\UGameViewportClient) * ViewportClient )