UVirtualCameraCineCameraComponent::SetFocusDistance

Sets the current focus distance to a new value based on current focus settings.

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 SetFocusDistance
(
    const float NewFocusDistance
)

Remarks

Sets the current focus distance to a new value based on current focus settings.

Parameters

Parameter

Description

NewFocusDistance

The desired focus distance