UVirtualCameraMovementComponent::SetMovementScale

Sets the movement scale of the camera actor

Choose your operating system:

Windows

macOS

Linux

References

Module

VirtualCamera

Header

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

Include

#include "VirtualCameraMovementComponent.h"

Syntax

void SetMovementScale
(
    const EVirtualCameraAxis AxisToAdjust,
    const float NewMovementScale
)

Remarks

Sets the movement scale of the camera actor

Parameters

Parameter

Description

AxisToAdjust

The axis to set movement scale on (setting for rotation axes is allowed but has no effect)

NewMovementScale

The desired scaling factor for calculating movement along this axis