Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Camera > API/Runtime/Engine/Camera/APlayerCameraManager
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Camera/PlayerCameraManager.h |
| Include | #include "Camera/PlayerCameraManager.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PlayerCameraManager.cpp |
virtual UCameraShakeBase &42; StartCameraShakeFromSource
&40;
TSubclassOf< UCameraShakeBase > ShakeClass,
UCameraShakeSourceComponent &42; SourceComponent,
float Scale,
ECameraShakePlaySpace PlaySpace,
FRotator UserPlaySpaceRot
&41;
Remarks
Plays a camera shake on this camera.
Parameters
| Name | 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. |