UVirtualCameraMovementComponent::ToggleAxisLock

Toggles the lock on a given axis; returns new locked 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 ToggleAxisLock
(
    const EVirtualCameraAxis AxisToToggle
)

Remarks

Toggles the lock on a given axis; returns new locked state.

Returns

the new locked state of AxisToToggle (true = locked)

Parameters

Parameter

Description

AxisToToggle

The axis whose lock should be turned on/off