Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Camera
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Camera/CameraShakeBase.h |
Include | #include "Camera/CameraShakeBase.h" |
Syntax
struct FCameraShakeDuration
Remarks
Camera shake duration.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Creates a new shake duration | ||
![]() |
FCameraShakeDuration
(
float InDuration, |
Creates a new shake duration |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FCameraShakeDuration | Custom () |
Returns a custom shake duration |
![]() ![]() |
FCameraShakeDuration | Custom
(
float DurationHint |
Returns a custom shake duration with a hint for how long the shake might be |
![]() ![]() |
float | Get () |
When the duration is fixed, return the duration time |
![]() ![]() |
ECameraShakeDurationType | Returns the duration type | |
![]() ![]() |
FCameraShakeDuration | Infinite () |
Returns an infinite shake duration |
![]() ![]() |
bool | IsCustom () |
Returns whether this duration is custom |
![]() ![]() |
bool | Returns whether this duration is custom, but with a valid effective duration hint | |
![]() ![]() |
bool | IsFixed () |
Returns whether this duration is a fixed time |
![]() ![]() |
bool | IsInfinite () |
Returns whether this duration is infinite |