UVirtualCameraMovementComponent::GetAxisStabilizationScale

Gets the stabilization rate for a given axis.

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 GetAxisStabilizationScale
(
    const EVirtualCameraAxis AxisToRetrieve
) const

Remarks

Gets the stabilization rate for a given axis. This method returns the stabilization value after undoing the curve applied in SetAxisStabiliaztionScale(). The return value will be equivialent the the NewStabiliaztionAmount parameter when setting the value, and not the returned actual value.

Returns

the value of the stabilization amount for the current axis

Parameters

Parameter

Description

AxisToRetrieve

The axis whose stabilization rate is being retrieved