Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Camera/PlayerCameraManager.h |
Include |
#include "Camera/PlayerCameraManager.h" |
Source |
/Engine/Source/Runtime/Engine/Private/PlayerCameraManager.cpp |
virtual UCameraAnimInst * PlayCameraAnim
(
class UCameraAnim * Anim,
float Rate,
float Scale,
float BlendInTime,
float BlendOutTime,
bool bLoop,
bool bRandomStartTime,
float Duration,
ECameraShakePlaySpace PlaySpace,
FRotator UserPlaySpaceRot
)
CameraAnim support. Play the indicated CameraAnim on this camera.
The CameraAnim instance, which can be stored to manipulate/stop the anim after the fact.
Parameter |
Description |
---|---|
Anim |
The animation that should play on this instance. |
Rate |
How fast to play the animation. 1.0 is normal. |
Scale |
How "intense" to play the animation. 1.0 is normal. |
BlendInTime |
Time to linearly ramp in. |
BlendOutTime |
Time to linearly ramp out. |
bLoop |
True to loop the animation if it hits the end. |
bRandomStartTime |
Whether or not to choose a random time to start playing. Useful with bLoop=true and a duration to randomize things like shakes. |
Duration |
Optional total playtime for this animation, including blends. 0 means to use animations natural duration, or infinite if looping. |
PlaySpace |
Which space to play the animation in. |
UserPlaySpaceRot |
Custom play space, used when PlaySpace is UserDefined. |