APlayerController::ClientPlayCameraAnim

Play the indicated CameraAnim on this camera.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/PlayerController.h"

Syntax

void ClientPlayCameraAnim
(
    class UCameraAnim * AnimToPlay,
    float Scale,
    float Rate,
    float BlendInTime,
    float BlendOutTime,
    bool bLoop,
    bool bRandomStartTime,
    ECameraAnimPlaySpace::Type Space,
    FRotator CustomPlaySpace
)

Remarks

Play the indicated CameraAnim on this camera.

Parameters

Parameter

Description

AnimToPlay

Camera animation to play

Scale

"Intensity" scalar. This is the scale at which the anim was first played.

Rate

Multiplier for playback rate. 1.0 = normal.

BlendInTime

Time to interpolate in from zero, for smooth starts

BlendOutTime

Time to interpolate out to zero, for smooth finishes

bLoop

True if the animation should loop, false otherwise

bRandomStartTime

Whether or not to choose a random time to start playing. Only really makes sense for bLoop = true

Space

Animation play area

CustomPlaySpace

Matrix used when Space = 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