UVirtualCameraCineCameraComponent::SetCurrentFocalLength

Sets the current focal length of the cinematic camera to a given value.

Choose your operating system:

Windows

macOS

Linux

References

Module

VirtualCamera

Header

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

Include

#include "VirtualCameraCineCameraComponent.h"

Syntax

void SetCurrentFocalLength
(
    const float NewFocalLength
)

Remarks

Sets the current focal length of the cinematic camera to a given value.

Parameters

Parameter

Description

NewFocalLength

The new target focal length for the camera