APlayerController::SetSpawnLocation

Set the SpawnLocation for use when changing states or when there is no pawn or spectator.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/PlayerController.h"

Source

/Engine/Source/Runtime/Engine/Private/PlayerController.cpp

Syntax

virtual void SetSpawnLocation
(
    const FVector & NewLocation
)

Remarks

Set the SpawnLocation for use when changing states or when there is no pawn or spectator.

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