Navigation
API > API/Editor > API/Editor/Sequencer
View model representing a section in the outliner hierarchy. Used when a layer/track row contains multiple sections and we want to group their channels separately in the outliner to avoid overlap.
This acts as an intermediate level between the layer and the channels, showing the section name in the outliner with its channels underneath. This is an alternative to graying out non-shared channel areas.
| Name | FSectionOutlinerModel |
| Type | class |
| Header File | /Engine/Source/Editor/Sequencer/Public/MVVM/ViewModels/SectionOutlinerModel.h |
| Include Path | #include "MVVM/ViewModels/SectionOutlinerModel.h" |
Syntax
class FSectionOutlinerModel :
public UE::Sequencer::FEvaluableOutlinerItemModel ,
public ITrackAreaExtension,
public ILockableExtension,
public IResizableExtension,
public IDeletableExtension,
public UE::Sequencer::IConditionableExtension ,
public UE::Sequencer::ISectionOwnerExtension ,
public UE::Sequencer::ITopLevelChannelHolderExtension ,
public UE::MovieScene::ISectionEventHandler,
public UE::MovieScene::TIntrusiveEventHandler< UE::MovieScene::ISignedObjectEventHandler >
Inheritance Hierarchy
- BaseType → TOutlinerModelMixin → FOutlinerItemModel → FEvaluableOutlinerItemModel → FSectionOutlinerModel
- UE::MovieScene::ISectionEventHandler → FSectionOutlinerModel
- UE::MovieScene::TIntrusiveEventHandler< UE::MovieScene::ISignedObjectEventHandler > → FSectionOutlinerModel
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSectionOutlinerModel
(
UMovieSceneSection* InSection, |
MVVM/ViewModels/SectionOutlinerModel.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FSectionOutlinerModel() |
MVVM/ViewModels/SectionOutlinerModel.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SectionEventHandler | UE::MovieScene::TNonIntrusiveEventHandler< UE::MovieScene::ISectionEventHandler > | MVVM/ViewModels/SectionOutlinerModel.h | ||
| SectionModelList | FViewModelListHead | MVVM/ViewModels/SectionOutlinerModel.h | ||
| TopLevelChannelList | FViewModelListHead | MVVM/ViewModels/SectionOutlinerModel.h | ||
| TrackEditor | TSharedPtr< ISequencerTrackEditor > | MVVM/ViewModels/SectionOutlinerModel.h | ||
| WeakSection | TWeakObjectPtr< UMovieSceneSection > | MVVM/ViewModels/SectionOutlinerModel.h | ||
| WeakSectionModel | TWeakViewModelPtr< FSectionModel > | MVVM/ViewModels/SectionOutlinerModel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CanDelete
(
FText* OutErrorMessage |
MVVM/ViewModels/SectionOutlinerModel.h | ||
TSharedPtr< SWidget > CreateOutlinerViewForColumn
(
const FCreateOutlinerViewParams& InParams, |
MVVM/ViewModels/SectionOutlinerModel.h | ||
void Delete() |
MVVM/ViewModels/SectionOutlinerModel.h | ||
const FSlateBrush * GetIconBrush() |
MVVM/ViewModels/SectionOutlinerModel.h | ||
FText GetLabel() |
MVVM/ViewModels/SectionOutlinerModel.h | ||
FSlateColor GetLabelColor() |
MVVM/ViewModels/SectionOutlinerModel.h | ||
FSlateFontInfo GetLabelFont() |
MVVM/ViewModels/SectionOutlinerModel.h | ||
ELockableLockState GetLockState() |
MVVM/ViewModels/SectionOutlinerModel.h | ||
FOutlinerSizing GetOutlinerSizing() |
MVVM/ViewModels/SectionOutlinerModel.h | ||
UMovieSceneSection * GetSection() |
MVVM/ViewModels/SectionOutlinerModel.h | ||
TSharedPtr< FSectionModel > GetSectionModel() |
MVVM/ViewModels/SectionOutlinerModel.h | ||
FViewModelVariantIterator GetTopLevelChildTrackAreaModels() |
MVVM/ViewModels/SectionOutlinerModel.h | ||
UMovieSceneTrack * GetTrack() |
MVVM/ViewModels/SectionOutlinerModel.h | ||
FViewModelChildren GetTrackAreaChildren() |
MVVM/ViewModels/SectionOutlinerModel.h | ||
FViewModelVariantIterator GetTrackAreaModelList() |
MVVM/ViewModels/SectionOutlinerModel.h | ||
FTrackAreaParameters GetTrackAreaParameters() |
MVVM/ViewModels/SectionOutlinerModel.h | ||
bool IsDimmed() |
MVVM/ViewModels/SectionOutlinerModel.h | ||
bool IsMuted() |
MVVM/ViewModels/SectionOutlinerModel.h | ||
bool IsResizable() |
MVVM/ViewModels/SectionOutlinerModel.h | ||
bool IsSolo() |
MVVM/ViewModels/SectionOutlinerModel.h | ||
void OnDecorationAdded
(
UObject* AddedDecoration |
MVVM/ViewModels/SectionOutlinerModel.h | ||
void OnDecorationRemoved
(
UObject* RemovedDecoration |
MVVM/ViewModels/SectionOutlinerModel.h | ||
void OnPostUndo() |
MVVM/ViewModels/SectionOutlinerModel.h | ||
void RefreshDecorations() |
Refreshes decoration models under this section outliner. | MVVM/ViewModels/SectionOutlinerModel.h | |
void Resize
(
float NewSize |
MVVM/ViewModels/SectionOutlinerModel.h | ||
void SetIsLocked
(
bool bIsLocked |
MVVM/ViewModels/SectionOutlinerModel.h | ||
void SetIsMuted
(
bool bIsMuted |
MVVM/ViewModels/SectionOutlinerModel.h | ||
void SetIsSoloed
(
bool bIsSoloed |
MVVM/ViewModels/SectionOutlinerModel.h | ||
bool SupportsOutlinerColumn
(
const FName& InColumnName |
MVVM/ViewModels/SectionOutlinerModel.h | ||
UE_SEQUENCER_DECLARE_CASTABLE_API
(
UE_API |
MVVM/ViewModels/SectionOutlinerModel.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnConstruct() |
MVVM/ViewModels/SectionOutlinerModel.h |
Overridden from FEvaluableOutlinerItemModel
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsDeactivated() |
MVVM/ViewModels/SectionOutlinerModel.h | ||
virtual void SetIsDeactivated
(
bool bInIsDeactivated |
MVVM/ViewModels/SectionOutlinerModel.h |
Overridden from FOutlinerItemModelMixin
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BuildContextMenu
(
FMenuBuilder& MenuBuilder |
Get context menu contents. | MVVM/ViewModels/SectionOutlinerModel.h | |
virtual void BuildSidebarMenu
(
FMenuBuilder& MenuBuilder |
MVVM/ViewModels/SectionOutlinerModel.h | ||
virtual void CreateCurveModels
(
TArray< TUniquePtr< FCurveModel > >& OutCurveModels |
MVVM/ViewModels/SectionOutlinerModel.h |
Overridden from IConditionableExtension
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const UMovieSceneCondition * GetCondition() |
Returns the condition in question for this model if applicable. | MVVM/ViewModels/SectionOutlinerModel.h | |
virtual EConditionableConditionState GetConditionState() |
Returns condition state for this item | MVVM/ViewModels/SectionOutlinerModel.h | |
virtual void SetConditionEditorForceTrue
(
bool bEditorForceTrue |
Set this item's condition to evaluate true for editor preview purposes | MVVM/ViewModels/SectionOutlinerModel.h |
Overridden from ISectionOwnerExtension
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FViewModelChildren GetSectionModels() |
MVVM/ViewModels/SectionOutlinerModel.h |
Overridden from ITopLevelChannelHolderExtension
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FViewModelChildren GetTopLevelChannels() |
Get the top-level channels for this item (used for key area iteration) | MVVM/ViewModels/SectionOutlinerModel.h |