Navigation
Unreal Engine C++ API Reference > Runtime > LevelSequence
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMovieSceneSequencePlayer
- ULevelSequencePlayer
References
Module | LevelSequence |
Header | /Engine/Source/Runtime/LevelSequence/Public/LevelSequencePlayer.h |
Include | #include "LevelSequencePlayer.h" |
Syntax
class ULevelSequencePlayer : public UMovieSceneSequencePlayer
Remarks
ULevelSequencePlayer is used to actually "play" an level sequence asset at runtime.
This class keeps track of playback state and provides functions for manipulating an level sequence while its playing.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TWeakObjectPtr< UCameraComponent > | CachedCameraComponent | |
![]() |
FOnLevelSequencePlayerCameraCutEvent | OnCameraCut | Event triggered when there is a camera cut |
![]() |
TOptional< int32 > | SnapshotOffsetTime |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
ULevelSequencePlayer
(
const FObjectInitializer& |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
ULevelSequencePlayer * | CreateLevelSequencePlayer
(
UObject* WorldContextObject, |
Create a new level sequence player. |
![]() ![]() |
UCameraComponent * | Get the active camera cut camera | |
![]() ![]() |
void | GetEventContexts
(
UWorld& InWorld, |
Populate the specified array with any given event contexts for the specified world |
![]() |
void | Initialize
(
ULevelSequence* InLevelSequence, |
Initialize the player. |
![]() |
void | ||
![]() |
void | SetSnapshotOffsetFrames
(
int32 InFrameOffset |
Set the offset time for the snapshot in play rate frames. |
![]() ![]() |
void | TakeFrameSnapshot
(
FLevelSequencePlayerSnapshot& OutSnapshot |
Take a snapshot of the current state of this player |
Overridden from UMovieSceneSequencePlayer
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | CanPlay () |
|
![]() ![]() |
void | ||
![]() ![]() |
void | OnStopped () |
|
![]() ![]() |
void | UpdateMovieSceneInstance
(
FMovieSceneEvaluationRange InRange, |
Overridden from IMovieScenePlayer
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
TArray< UObject * > | Access the event contexts for this movie scene player | |
![]() ![]() ![]() |
UObject * | Access the playback context for this movie scene player | |
![]() ![]() ![]() |
void | ResolveBoundObjects
(
const FGuid& InBindingId, |
Resolve objects bound to the specified binding ID |
![]() ![]() |
void | UpdateCameraCut
(
UObject* CameraObject, |
Updates the perspective viewports with the actor to view through |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Initialize
(
ULevelSequence* InLevelSequence, |
Use SetPlaybackSettings(...) then Initialize(ULevelSequence, ULevel, const FLevelSequenceCameraSettings&) |