FAddCameraShakeParams

Parameter struct for adding new camera shakes to [UCameraModifier_CameraShake](API\Runtime\Engine\Camera\UCameraModifier_CameraShake)

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Camera/CameraModifier_CameraShake.h"

Syntax

struct FAddCameraShakeParams

Remarks

Parameter struct for adding new camera shakes to UCameraModifier_CameraShake

Variables

Name Description

Public variable

FOnInitializeCa...

 

Initializer

A custom callback to initialize the new camera shake.

Public variable

ECameraShakePla...

 

PlaySpace

The transform space to use for the new camera shake

Public variable

float

 

Scale

Global scale to use for the new camera shake

Public variable

const UCameraSh...

 

SourceComponent

The source to use for dynamically attenuating the new camera shake

Public variable

FRotator

 

UserPlaySpaceRot

User space to use when PlaySpace is UserDefined

Constructors

Name Description

Public function

FAddCameraShakeParams()

Public function

FAddCameraShakeParams

(
    float InScale,
    ECameraShakePlaySpace InPlaySpace,
    FRotator InUserPlaySpaceRot,
    const UCameraShakeSourceComponent&...
)

The source to use for dynamically attenuating the new camera shake

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss