FCameraShakeDuration

Camera shake duration.

Choose your operating system:

Windows

macOS

Linux

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

Name Description

Public function

FCameraShakeDuration()

Creates a new shake duration

Public function

FCameraShakeDuration

(
    float InDuration,
    ECameraShakeDurationType InType
)

Creates a new shake duration

Functions

Name Description

Public function Static

FCameraShake...

 

Custom()

Returns a custom shake duration

Public function Static

FCameraShake...

 

Custom

(
    float DurationHint
)

Returns a custom shake duration with a hint for how long the shake might be

Public function Const

float

 

Get()

When the duration is fixed, return the duration time

Public function Const

ECameraShake...

 

GetDurationType()

Returns the duration type

Public function Static

FCameraShake...

 

Infinite()

Returns an infinite shake duration

Public function Const

bool

 

IsCustom()

Returns whether this duration is custom

Public function Const

bool

 

IsCustomWithHint()

Returns whether this duration is custom, but with a valid effective duration hint

Public function Const

bool

 

IsFixed()

Returns whether this duration is a fixed time

Public function Const

bool

 

IsInfinite()

Returns whether this duration is infinite