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).

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback