FDisplayMetrics

Syntax

struct FDisplayMetrics

Remarks

Contains metrics information for the desktop area

Variables

Name Description

Public variable

FVector2D

 

ActionSafePaddingSize

The safe area for less important spill over on TVs (see TitleSafePaddingSize)

Public variable

TArray < FMonito ...

 

MonitorInfo

Info on connected physical monitors.

Public variable

int32

 

PrimaryDisplayHeight

Height of the primary display in pixels

Public variable

int32

 

PrimaryDisplayWidth

Width of the primary display in pixels

Public variable

FPlatformRect

 

PrimaryDisplayWorkAreaRect

Area of the primary display not covered by task bars or other docked widgets

Public variable

FVector2D

 

TitleSafePaddingSize

The safe area for all content on TVs (see http://en.wikipedia.org/wiki/Safe_area_%28television%29 ) - content will be inset TitleSafePaddingSize.X on left and right

Public variable

FPlatformRect

 

VirtualDisplayRect

Virtual display coordinate range (includes all active displays)

Constructors

Name Description

Public function

FDisplayMetrics()

Functions

Name Description

Protected function

void

 

ApplyDefaultSafeZones()

Apply the debug/default safe zones.

Protected function Static

float

 

GetDebugActionSafeZoneRatio()

The action safe zone ratio that will be returned by FDisplayMetrics::GetDisplayMetrics on platforms that don't have a defined safe zone.

Protected function Static

float

 

GetDebugTitleSafeZoneRatio()

The title safe zone ratio that will be returned by FDisplayMetrics::GetDisplayMetrics on platforms that don't have a defined safe zone.

Public function Static

[CORE_API](API\Runtime\Core\Misc\CORE_API_1) voi...

 

GetDisplayMetrics

(
    FDisplayMetrics & OutDisplayMetrics
)

Public function

[CORE_API](API\Runtime\Core\Misc\CORE_API_1) voi...

 

PrintToLog()

Logs out display metrics

References

Module

Core

Header

Runtime/Core/Public/GenericPlatform/GenericApplication.h