Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Camera/PlayerCameraManager.h |
Include |
#include "Camera/PlayerCameraManager.h" |
Source |
/Engine/Source/Runtime/Engine/Private/PlayerCameraManager.cpp |
virtual UCameraShakeBase * StartCameraShakeFromSource
(
TSubclassOf< UCameraShakeBase > ShakeClass,
UCameraShakeSourceComponent * SourceComponent,
float Scale,
ECameraShakePlaySpace PlaySpace,
FRotator UserPlaySpaceRot
)
Plays a camera shake on this camera.
Parameter |
Description |
---|---|
Shake |
The class of camera shake to play. |
SourceComponent |
The source from which the camera shake originates. |
Scale |
Applies an additional constant scale on top of the dynamic scale computed with the distance to the source |
PlaySpace |
Which coordinate system to play the shake in (affects oscillations and camera anims) |
UserPlaySpaceRot |
Coordinate system to play shake when PlaySpace == CAPS_UserDefined. |