Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Camera > API/Runtime/Engine/Camera/UCameraShakeBase > API/Runtime/Engine/Camera/UCameraShakeBase/GetCameraShakeDuration
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Camera/CameraShakeBase.h |
| Include | #include "Camera/CameraShakeBase.h" |
static bool GetCameraShakeDuration
&40;
TSubclassOf< UCameraShakeBase > CameraShakeClass,
FCameraShakeDuration & OutDuration
&41;
Remarks
Gets the default duration for camera shakes of the given class. Whether a valid default duration was found
Parameters
| Name | Description |
|---|---|
| CameraShakeClass | The class of camera shake |
| OutDuration | Will store the default duration of the given camera shake class, if possible |