Skip to content

AExperimentSpectatorController::AttachCamera

Class: AExperimentSpectatorController

Attaches a newly created camera.

Syntax

void AExperimentSpectatorController::AttachCamera(AExperimentFrameCaptureCamera *camera)

Parameters

Parameter Type Description
camera AExperimentFrameCaptureCamera * The camera to attach.

Remarks

The base implementation attaches to the reference pawn's root; override to attach to a specific component, such as the pawn's gameplay camera. camera The camera to attach.