UVirtualCameraCineCameraComponent::SetCurrentFocusDistance

Sets the current focus distance of the camera to a new 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 SetCurrentFocusDistance
(
    const float NewFocusDistance
)

Remarks

Sets the current focus distance of the camera to a new value.

Parameters

Parameter

Description

NewFocusDistance

The new focus distance for the camera