FEngineLoop::PreInit

Pre-Initialize the main loop, and generates the commandline from standard ArgC/ArgV from main().

Windows
MacOS
Linux

References

Module

Launch

Header

/Engine/Source/Runtime/Launch/Public/LaunchEngineLoop.h

Include

#include "LaunchEngineLoop.h"

Source

/Engine/Source/Runtime/Launch/Private/LaunchEngineLoop.cpp

Syntax

int32 PreInit
(
    int32 ArgC,
    TCHAR * ArgV,
    const TCHAR * AdditionalCommandline
)

Remarks

Pre-Initialize the main loop, and generates the commandline from standard ArgC/ArgV from main().

Returns

Returns the error level, 0 if successful and > 0 if there were errors.

Parameters

Parameter

Description

ArgC

The number of strings in ArgV.

ArgV

The command line parameters (ArgV[0] is expected to be the executable name).

AdditionalCommandLine

Optional string to append to the command line (after ArgV is put together).

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