UCameraModifier_CameraShake::AddCameraShake

Adds a new active screen shake to be applied.

Windows
MacOS
Linux

Deprecated

  • Please use the new AddCameraShake method that takes a parameter struct.

References

Module

Engine

Header

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

Include

#include "Camera/CameraModifier_CameraShake.h"

Syntax

virtual UCameraShake * AddCameraShake
(
    TSubclassOf< UCameraShake > NewShake,
    float Scale,
    ECameraAnimPlaySpace::Type PlaySpace,
    FRotator UserPlaySpaceRot
)

Remarks

Adds a new active screen shake to be applied.

Parameters

Parameter

Description

NewShake

The class of camera shake to instantiate.

Scale

The scalar intensity to play the shake.

PlaySpace

Which coordinate system to play the shake in.

UserPlaySpaceRot

Coordinate system to play shake when PlaySpace == CAPS_UserDefined.

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