AGameModeBase::GetPlayerControllerClassToSpawnForSeamlessTravel

Gets the class that should be used for spawning a player controller during seamless travel

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/GameModeBase.h

Include

#include "GameFramework/GameModeBase.h"

Source

/Engine/Source/Runtime/Engine/Private/GameModeBase.cpp

Syntax

virtual TSubclassOf< APlayerController > GetPlayerControllerClassToSpawnForSeamlessTravel
(
    APlayerController * PreviousPlayerController
)

Remarks

Gets the class that should be used for spawning a player controller during seamless travel

Returns

The class that should be used for spawning the player controller

Parameters

Parameter

Description

PreviousPlayerController

The player controller from the prior level

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