UWidgetLayoutLibrary::GetViewportScale

Gets the current DPI Scale being applied to the viewport and all the Widgets.