ADebugCameraController::SetSpectatorPawn

Set the spectator pawn.

Windows
MacOS
Linux

Override Hierarchy

APlayerController::SetSpectatorPawn()

ADebugCameraController::SetSpectatorPawn()

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 void SetSpectatorPawn
(
    class ASpectatorPawn * NewSpectatorPawn
)

Remarks

Set the spectator pawn. Will also call AttachToPawn() using the new 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