UCameraAnimInst::Play

Starts this instance playing the specified CameraAnim.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Camera/CameraAnimInst.h

Include

#include "Camera/CameraAnimInst.h"

Source

/Engine/Source/Runtime/Engine/Private/Camera/CameraAnimInst.cpp

Syntax

void Play
(
    class UCameraAnim * Anim,
    class AActor * CamActor,
    float InRate,
    float InScale,
    float InBlendInTime,
    float InBlendOutTime,
    bool bInLoop,
    bool bRandomStartTime,
    float Duration
)

Remarks

Starts this instance playing the specified CameraAnim.

Parameters

Parameter

Description

CamAnim

The animation that should play on this instance.

CamActor

The AActor that will be modified by this animation.

InRate

How fast to play the animation. 1.f is normal.

InScale

How intense to play the animation. 1.f is normal.

InBlendInTime

Time over which to linearly ramp in.

InBlendOutTime

Time over which to linearly ramp out.

bInLoop

Whether or not to loop the animation.

bRandomStartTime

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

Duration

optional specific playtime for this animation. This is total time, including blends.