ADebugCameraController::SpawnSpectatorPawn

Custom spawn to spawn a default SpectatorPawn, to use as a spectator and initialize it.

Windows
MacOS
Linux

Override Hierarchy

APlayerController::SpawnSpectatorPawn()

ADebugCameraController::SpawnSpectatorPawn()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/DebugCameraController.h

Include

#include "Engine/DebugCameraController.h"

Source

/Engine/Source/Runtime/Engine/Private/DebugCameraController.cpp

Syntax

virtual ASpectatorPawn * SpawnSpectatorPawn()

Remarks

Custom spawn to spawn a default SpectatorPawn, to use as a spectator and initialize it. By default it is spawned at the PC's current location and rotation.

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