AGameMode::SetSeamlessTravelViewTarget

SetViewTarget of player control on server change

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/GameMode.h"

Source

/Engine/Source/Runtime/Engine/Private/GameMode.cpp

Syntax

virtual void SetSeamlessTravelViewTarget
(
    APlayerController * PC
)

Remarks

SetViewTarget of player control on server change