Navigation
Unreal Engine C++ API Reference > 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 |
UFUNCTION (BlueprintCallable, Category="Camera Shakes")
virtual UCameraShakeBase * StartCameraShakeFromSource
(
TSubclassOf < UCameraShakeBase > ShakeClass,
UCameraShakeSourceComponent * SourceComponent,
float Scale,
ECameraShakePlaySpace PlaySpace,
FRotator UserPlaySpaceRot
)
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. |