AVirtualCameraPawnBase::SetTrackedActorForFocus

Forwards tracked actor changes to the camera component to be handled.

Choose your operating system:

Windows

macOS

Linux

References

Module

VirtualCamera

Header

/Engine/Plugins/Experimental/VirtualCamera/Source/VirtualCamera/Public/VirtualCameraPawnBase.h

Include

#include "VirtualCameraPawnBase.h"

Syntax

void SetTrackedActorForFocus
(
    AActor * ActorToTrack,
    FVector TrackingPointOffset
)

Remarks

Forwards tracked actor changes to the camera component to be handled.

Parameters

Parameter

Description

ActorToTrack

The actor that the focus should follow

TrackingPointOffset

The offset from the root of the actor to the point to focus on