AVirtualCameraPawnBase::SetFocusDistance

Forwards any focus change commands from outside sources to the camera component.

Choose your operating system:

Windows

macOS

Linux

References

Module

VirtualCamera

Header

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

Include

#include "VirtualCameraPawnBase.h"

Syntax

void SetFocusDistance
(
    const float NewFocusDistance
)

Remarks

Forwards any focus change commands from outside sources to the camera component.

Parameters

Parameter

Description

NewFocusDistance

The desired focus distance for the camera