UVirtualCameraMovementComponent::GetMovementScale

Gets 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

float GetMovementScale
(
    const EVirtualCameraAxis AxisToRetrieve
) const

Remarks

Gets the movement scale of the camera actor

Returns

the scaling factor for calculating movement along this axis

Parameters

Parameter

Description

AxisToRetrieve

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