Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/GameEngine.h |
Include |
#include "Engine/GameEngine.h" |
Source |
/Engine/Source/Runtime/Engine/Private/GameEngine.cpp |
static void DetermineGameWindowResolution
(
int32 & ResolutionX,
int32 & ResolutionY,
EWindowMode::Type & WindowMode,
bool bUseWorkAreaForWindowed
)
Determines the resolution of the game window, ensuring that the requested size is never bigger than the available desktop size
Parameter |
Description |
---|---|
ResolutionX |
[in/out] Width of the game window, in pixels |
ResolutionY |
[in/out] Height of the game window, in pixels |
WindowMode |
[in/out] What window mode the game should be in |
bUseWorkArea |
[in] Should we find a resolution that fits within the desktop work area for the windowed mode instead of monitor's full resolution |