AVirtualCameraPlayerControllerBase::SetMovementScale

Sets the movement scale of the camera actor.

Windows
MacOS
Linux

References

Module

VirtualCamera

Header

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

Include

#include "VirtualCameraPlayerControllerBase.h"

Source

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

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Virtual Camera|Movement")
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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss