Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UCameraShakeBase
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GetCameraShakeBlendTimes
(
float& OutBlendIn, |
Gets the duration of this camera shake's blend in and out. | Camera/CameraShakeBase.h | |
static bool GetCameraShakeBlendTimes
(
TSubclassOf< UCameraShakeBase > CameraShakeClass, |
Gets the default blend in/out durations for camera shakes of the given class. | Camera/CameraShakeBase.h |
GetCameraShakeBlendTimes(float &, float &)
Description
Gets the duration of this camera shake's blend in and out.
The values could be 0 or negative if there's no blend in and/or out.
| Name | GetCameraShakeBlendTimes |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Camera/CameraShakeBase.h |
| Include Path | #include "Camera/CameraShakeBase.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Camera/CameraShakeBase.cpp |
void GetCameraShakeBlendTimes
(
float & OutBlendIn,
float & OutBlendOut
) const
GetCameraShakeBlendTimes(TSubclassOf< UCameraShakeBase >, float &, float &)
Description
Gets the default blend in/out durations for camera shakes of the given class.
| Name | GetCameraShakeBlendTimes |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Camera/CameraShakeBase.h |
| Include Path | #include "Camera/CameraShakeBase.h" |
static bool GetCameraShakeBlendTimes
(
TSubclassOf < UCameraShakeBase > CameraShakeClass,
float & OutBlendIn,
float & OutBlendOut
)
Whether valid default blend in/out times were found
Parameters
| Name | Remarks |
|---|---|
| CameraShakeClass | The class of camera shake |
| OutBlendIn | Will store the default blend-in time of the given camera shake class, if possible |
| OutBlendOut | Will store the default blend-out time of the given camera shake class, if possible |