AVirtualCameraPlayerControllerBase::ChangeFocalLengthPreset

Adjust the focal length of the camera to an adjecent preset value.

Windows
MacOS
Linux

References

Module

VirtualCamera

Header

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

Include

#include "VirtualCameraPlayerControllerBase.h"

Source

/Engine/Plugins/Experimental/VirtualCamera/Source/VirtualCamera/Private/VirtualCameraPlayerControllerBase.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Virtual Camera|Cinematic Camera|Focal Length")
float ChangeFocalLengthPreset
(
    const bool bShiftUp
)

Remarks

Adjust the focal length of the camera to an adjecent preset value.

Returns

the new focal length of the camera in mm

Parameters

Parameter

Description

bShiftUp

If true, the focal length will increase; if false, it will decrease

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss