Navigation
API > API/Editor > API/Editor/Sequencer > API/Editor/Sequencer/MVVM > API/Editor/Sequencer/MVVM/ViewModels
Inheritance Hierarchy
- ICastable
- TSharedFromThis
- FDynamicExtensionContainer
- FViewModel
- FEditorViewModel
- FSequencerEditorViewModel
References
| Module | Sequencer |
| Header | /Engine/Source/Editor/Sequencer/Public/MVVM/ViewModels/SequencerEditorViewModel.h |
| Include | #include "MVVM/ViewModels/SequencerEditorViewModel.h" |
Syntax
class FSequencerEditorViewModel : public UE::Sequencer::FEditorViewModel
Remarks
Main view-model for the Sequencer editor.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FSequencerCustomizationInfo > | ActiveCustomizationInfos | ||
| TArray< TUniquePtr< ISequencerCustomization > > | ActiveCustomizations | Active customizations. | |
| FAutoRegisterTypeTable | AutoRegisterTypeTable | ||
| bool | bSupportsCurveEditor | Whether we have a curve editor extension | |
| TSharedPtr< ITrackAreaHotspot > | CurrentHotspot | The current hotspot, from any of our track areas | |
| static::UE::Sequencer::TAutoRegisterViewModelTypeID< FSequencerEditorViewModel > | ID | ||
| TMap< TWeakPtr< FViewModel >, FString > | NodePaths | Cached node paths to be used to compare when the hierarchy changes | |
| TSharedPtr< FTrackAreaViewModel > | PinnedTrackArea | Pinned track area (the main track area is owned by the base class) | |
| TWeakPtr< ISequencer > | WeakSequencer | Owning sequencer |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSequencerEditorViewModel
(
TSharedRef< ISequencer > InSequencer, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TArrayView< const FSequencerCustomizationInfo > | Get the active customization infos | ||
| TSharedPtr< ITrackAreaHotspot > | GetHotspot () |
Gets the current hotspots across any of our track areas | |
| TSharedPtr< FTrackAreaViewModel > | Gets the pinned track area view-model. | ||
| TSharedPtr< FSequencerSelection > | GetSelection () |
Retrieve this editor's selection class | |
| TSharedPtr< ISequencer > | GetSequencer () |
Remove this later | |
| TSharedPtr< FSequencer > | Remove this ASAP | ||
| TSharedPtr< FExtender > | GetSequencerMenuExtender
(
TSharedPtr< FExtensibilityManager > ExtensibilityManager, |
Build a combined menu extender | |
| void | |||
| void | OnTrackAreaHotspotChanged
(
TSharedPtr< ITrackAreaHotspot > NewHotspot |
||
| void | |||
| void | SetSequence
(
UMovieSceneSequence* InRootSequence |
Move this to the root view-model | |
| bool | UpdateSequencerCustomizations
(
const UMovieSceneSequence* PreviousFocusedSequence |
Adjust sequencer customizations based on the currently focused sequence |
Overridden from FEditorViewModel
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FOutlinerViewModel > | Creates the outliner for this editor. | ||
| TSharedPtr< FViewModel > | Creates the root data model for this editor. | ||
| TSharedPtr< FSequencerCoreSelection > | Creates the selection class for this editor. | ||
| TSharedPtr< FTrackAreaViewModel > | Creates the track-area for this editor. | ||
| void | Creates any other panels for this editor. | ||
| bool | IsReadOnly () |
Returns whether this editor is currently read-only | |
| void | Initializes this view model before panels and root models are created |
Typedefs
| Name | Description |
|---|---|
| Implements |