UGameViewportClient::SetupInitialLocalPlayer

Initialize the game viewport.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/GameViewportClient.h

Include

#include "Engine/GameViewportClient.h"

Source

/Engine/Source/Runtime/Engine/Private/GameViewportClient.cpp

Syntax

virtual ULocalPlayer * SetupInitialLocalPlayer
(
    FString & OutError
)

Remarks

Initialize the game viewport.

Returns

False if an error occurred, true if the viewport was initialized successfully.

Parameters

Parameter

Description

OutError

If an error occurs, returns the error description.