UVirtualCameraCineCameraComponent::ChangeAperturePreset

Adjusts the aperture of the camera to an adjacent preset 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"

Source

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

Syntax

float ChangeAperturePreset
(
    const bool bShiftUp
)

Remarks

Adjusts the aperture of the camera to an adjacent preset value.

Returns

the new aperture of the camera

Parameters

Parameter

Description

bShiftUp

If true, the aperture will increase; if false, it will decrease