UCameraAnimationCameraModifier::PlayCameraAnimation

Play a new camera animation sequence.

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayCameras

Header

/Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/CameraAnimationCameraModifier.h

Include

#include "CameraAnimationCameraModifier.h"

Source

/Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Private/CameraAnimationCameraModifier.cpp

Syntax

UFUNCTION(BlueprintCallable, Category="Camera Animation")
FCameraAnimationHandle PlayCameraAnimation
(
    UCameraAnimationSequence * Sequence,
    FCameraAnimationParams Params
)

Remarks

Play a new camera animation sequence.

Parameters

Parameter

Description

Sequence

The sequence to use for the new camera animation.

Params

The parameters for the new camera animation instance.