Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Slate > API/Runtime/Engine/Slate/SGameLayerManager
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Slate/SGameLayerManager.h |
| Include | #include "Slate/SGameLayerManager.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Slate/SGameLayerManager.cpp |
void SetUseFixedDPIValue
&40;
const bool bUseFixedDPI,
const FIntPoint RefViewportSize
&41;
Remarks
Function will instruct internal DPI computations to use a provided reference viewport size instead of the actual viewport size. After the DPI will be retrieved it will be scaled down with the ratio between the actual viewport size and the provided one. Check GetGameViewportDPIScale() for more information.