Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ADebugCameraController
Description
Set the spectator pawn. Will also call AttachToPawn() using the new spectator.
Virtual Inheritance
- APlayerController::SetSpectatorPawn → ADebugCameraController::SetSpectatorPawn
| Name | SetSpectatorPawn |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/DebugCameraController.h |
| Include Path | #include "Engine/DebugCameraController.h" |
| Source | /Engine/Source/Runtime/Engine/Private/DebugCameraController.cpp |
virtual void SetSpectatorPawn
(
class ASpectatorPawn * NewSpectatorPawn
)