APlayerController::ClientStartCameraShake

Play Camera Shake

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h

Include

#include "GameFramework/PlayerController.h"

Syntax

void ClientStartCameraShake
(
    TSubclassOf< class UCameraShakeBase > Shake,
    float Scale,
    ECameraShakePlaySpace PlaySpace,
    FRotator UserPlaySpaceRot
)

Remarks

Play Camera Shake

Parameters

Parameter

Description

Shake

Camera shake animation to play

Scale

Scalar defining how "intense" to play the anim

PlaySpace

Which coordinate system to play the shake in (used for CameraAnims within the shake).

UserPlaySpaceRot

Matrix used 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