UGameEngine::ConditionallyOverrideSettings

Modifies the game window resolution settings if any overrides have been specified on the command line

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/GameEngine.h

Include

#include "Engine/GameEngine.h"

Source

/Engine/Source/Runtime/Engine/Private/GameEngine.cpp

Syntax

static void ConditionallyOverrideSettings
(
    int32 & ResolutionX,
    int32 & ResolutionY,
    EWindowMode::Type & WindowMode
)

Remarks

Modifies the game window resolution settings if any overrides have been specified on the command line

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss