UVirtualCameraCineCameraComponent::GetCurrentFocusDistance

Gets the current focus distance of 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"

Syntax

float GetCurrentFocusDistance()

Remarks

Gets the current focus distance of the camera.

Returns

the focal distance of the camera