UVirtualCameraMovementComponent::ToggleAxisFreeze

Toggles the freeze on a given axis; returns new frozen state.

Choose your operating system:

Windows

macOS

Linux

References

Module

VirtualCamera

Header

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

Include

#include "VirtualCameraMovementComponent.h"

Source

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

Syntax

bool ToggleAxisFreeze
(
    const EVirtualCameraAxis AxisToToggle
)

Remarks

Toggles the freeze on a given axis; returns new frozen state.

Returns

the new frozen state of AxisToToggle (true = frozen)

Parameters

Parameter

Description

AxisToToggle

The axis whose lock should be toggled