UVirtualCameraMovementComponent::SetAxisStabilizationScale

Sets the stabilization rate for a given lock.

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

float SetAxisStabilizationScale
(
    const EVirtualCameraAxis AxisToAdjust,
    float NewStabilizationAmount
)

Remarks

Sets the stabilization rate for a given lock.

Returns

the actual value the stabilization amount was set to after clamping

Parameters

Parameter

Description

AxisToAdjust

The axis whose stabilization rate should be changed

NewStabilizationAmount

The stabilization amount we should attempt to set the value