UVirtualCameraCineCameraComponent::SetTrackedActorForFocus

Sets tracked actor settings on the camera.

Choose your operating system:

Windows

macOS

Linux

References

Module

VirtualCamera

Header

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

Include

#include "VirtualCameraCineCameraComponent.h"

Source

/Engine/Plugins/Experimental/VirtualCamera/Source/VirtualCamera/Private/VirtualCameraCineCameraComponent.cpp

Syntax

void SetTrackedActorForFocus
(
    AActor * ActorToTrack,
    const FVector TrackingPointOffset
)

Remarks

Sets tracked actor settings on the camera.

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