UCameraShakeBase::GetCameraShakeDuration

Gets the duration of this camera shake in seconds.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Camera/CameraShakeBase.h

Include

#include "Camera/CameraShakeBase.h"

Source

/Engine/Source/Runtime/Engine/Private/Camera/CameraShakeBase.cpp

Syntax

FCameraShakeDuration GetCameraShakeDuration() const

Remarks

Gets the duration of this camera shake in seconds.

The value could be 0 or negative if the shake uses the oscillator, meaning, respectively, no oscillation, or indefinite oscillation.