ULevelSequencePlayer::CreateLevelSequencePlayer

Create a new level sequence player.

Choose your operating system:

Windows

macOS

Linux

References

Module

LevelSequence

Header

/Engine/Source/Runtime/LevelSequence/Public/LevelSequencePlayer.h

Include

#include "LevelSequencePlayer.h"

Source

/Engine/Source/Runtime/LevelSequence/Private/LevelSequencePlayer.cpp

Syntax

static ULevelSequencePlayer * CreateLevelSequencePlayer
(
    UObject * WorldContextObject,
    ULevelSequence * LevelSequence,
    FMovieSceneSequencePlaybackSettings Settings,
    ALevelSequenceActor *& OutActor
)

Remarks

Create a new level sequence player.

Parameters

Parameter

Description

WorldContextObject

Context object from which to retrieve a UWorld.

LevelSequence

The level sequence to play.

Settings

The desired playback settings

OutActor

The level sequence actor created to play this sequence.