Navigation
API > API/Plugins > API/Plugins/LevelSequenceEditor
Class that manages the current playback context that a level-sequence editor should use for playback
| Name | FLevelSequencePlaybackContext |
| Type | class |
| Header File | /Engine/Plugins/MovieScene/LevelSequenceEditor/Source/LevelSequenceEditor/Public/Misc/LevelSequencePlaybackContext.h |
| Include Path | #include "Misc/LevelSequencePlaybackContext.h" |
Syntax
class FLevelSequencePlaybackContext : public TSharedFromThis< FLevelSequencePlaybackContext >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FLevelSequencePlaybackContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLevelSequencePlaybackContext
(
ULevelSequence* InLevelSequence |
Misc/LevelSequencePlaybackContext.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FLevelSequencePlaybackContext() |
Misc/LevelSequencePlaybackContext.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FContextAndClient | TTuple< UWorld *, ALevelSequenceActor * > | Misc/LevelSequencePlaybackContext.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LevelSequence | TWeakObjectPtr< ULevelSequence > | Level sequence that we should find a context for | Misc/LevelSequencePlaybackContext.h | |
| WeakCurrentClient | TWeakObjectPtr< ALevelSequenceActor > | Mutable cached client pointer | Misc/LevelSequencePlaybackContext.h | |
| WeakCurrentContext | TWeakObjectPtr< UWorld > | Mutable cached context pointer | Misc/LevelSequencePlaybackContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedRef< SWidget > BuildWorldPickerCombo() |
Build a world picker widget that allows the user to choose a world, and exit the auto-bind settings | Misc/LevelSequencePlaybackContext.h | |
| Retrieve all the event contexts for the current world | Misc/LevelSequencePlaybackContext.h | ||
ULevelSequence * GetLevelSequence() |
Gets the level sequence for which we are trying to find the context. | Misc/LevelSequencePlaybackContext.h | |
ALevelSequenceActor * GetPlaybackClient() |
Resolve the current playback client. May be nullptr. | Misc/LevelSequencePlaybackContext.h | |
IMovieScenePlaybackClient * GetPlaybackClientAsInterface() |
Returns GetPlaybackClient as an interface pointer. | Misc/LevelSequencePlaybackContext.h | |
UObject * GetPlaybackContext() |
Resolve the current world context pointer. Can never be nullptr. | Misc/LevelSequencePlaybackContext.h | |
UObject * GetPlaybackContextAsObject() |
Returns GetPlaybackContext as a plain object. | Misc/LevelSequencePlaybackContext.h | |
void OverrideWith
(
UWorld* InNewContext, |
Specify a new world to use as the context. | Misc/LevelSequencePlaybackContext.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FContextAndClient ComputePlaybackContextAndClient
(
const ULevelSequence* InLevelSequence |
Compute the new playback context based on the user's current auto-bind settings. | Misc/LevelSequencePlaybackContext.h |