Navigation
API > API/Editor > API/Editor/Sequencer
| Name | FTrackModel |
| Type | class |
| Header File | /Engine/Source/Editor/Sequencer/Public/MVVM/ViewModels/TrackModel.h |
| Include Path | #include "MVVM/ViewModels/TrackModel.h" |
Syntax
class FTrackModel :
public UE::Sequencer::FEvaluableOutlinerItemModel ,
public IRenameableExtension,
public IResizableExtension,
public UE::Sequencer::ITrackExtension ,
public UE::Sequencer::ISectionOwnerExtension ,
public UE::Sequencer::ITopLevelChannelHolderExtension ,
public ITrackAreaExtension,
public ILockableExtension,
public IGroupableExtension,
public ISortableExtension,
public IDraggableOutlinerExtension,
public IDeletableExtension,
public UE::Sequencer::IConditionableExtension ,
public IOutlinerDropTargetOutlinerExtension,
public UE::Sequencer::ISectionDragOwnerExtension ,
public UE::MovieScene::TIntrusiveEventHandler< UE::MovieScene::ISignedObjectEventHandler >,
public UE::MovieScene::IDeferredSignedObjectFlushSignal
Inheritance Hierarchy
- BaseType → TOutlinerModelMixin → FOutlinerItemModel → FEvaluableOutlinerItemModel → FTrackModel
- UE::MovieScene::TIntrusiveEventHandler< UE::MovieScene::ISignedObjectEventHandler > → FTrackModel
- UE::MovieScene::IDeferredSignedObjectFlushSignal → FTrackModel
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTrackModel
(
UMovieSceneTrack* Track |
MVVM/ViewModels/TrackModel.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FTrackModel() |
MVVM/ViewModels/TrackModel.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAutoExpandedDuringDrag | bool | Tracks if this track was auto-expanded during a section drag operation | MVVM/ViewModels/TrackModel.h | |
| bNeedsUpdate | bool | MVVM/ViewModels/TrackModel.h | ||
| PreviousLayoutNumRows | int32 | MVVM/ViewModels/TrackModel.h | ||
| SectionList | FViewModelListHead | A second children list for the sections inside this track | MVVM/ViewModels/TrackModel.h | |
| TopLevelChannelList | FViewModelListHead | MVVM/ViewModels/TrackModel.h | ||
| TrackEditor | TSharedPtr< ISequencerTrackEditor > | @todo_sequencer_mvvm: move all the track editor behavior into the view model | MVVM/ViewModels/TrackModel.h | |
| WeakTrack | TWeakObjectPtr< UMovieSceneTrack > | The actual track wrapped by this data model | MVVM/ViewModels/TrackModel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CanDelete
(
FText* OutErrorMessage |
MVVM/ViewModels/TrackModel.h | ||
bool CanDrag() |
MVVM/ViewModels/TrackModel.h | ||
bool CanRename() |
MVVM/ViewModels/TrackModel.h | ||
TSharedPtr< SWidget > CreateOutlinerViewForColumn
(
const FCreateOutlinerViewParams& InParams, |
MVVM/ViewModels/TrackModel.h | ||
void Delete() |
MVVM/ViewModels/TrackModel.h | ||
const FSlateBrush * GetIconBrush() |
MVVM/ViewModels/TrackModel.h | ||
void GetIdentifierForGrouping
(
TStringBuilder< 128 >& OutString |
MVVM/ViewModels/TrackModel.h | ||
FText GetLabel() |
MVVM/ViewModels/TrackModel.h | ||
FSlateColor GetLabelColor() |
MVVM/ViewModels/TrackModel.h | ||
FSlateFontInfo GetLabelFont() |
MVVM/ViewModels/TrackModel.h | ||
FText GetLabelToolTipText() |
MVVM/ViewModels/TrackModel.h | ||
ELockableLockState GetLockState() |
MVVM/ViewModels/TrackModel.h | ||
FOutlinerSizing GetOutlinerSizing() |
MVVM/ViewModels/TrackModel.h | ||
FSortingKey GetSortingKey() |
MVVM/ViewModels/TrackModel.h | ||
FViewModelVariantIterator GetTopLevelChildTrackAreaModels() |
MVVM/ViewModels/TrackModel.h | ||
FViewModelVariantIterator GetTrackAreaModelList() |
MVVM/ViewModels/TrackModel.h | ||
FTrackAreaParameters GetTrackAreaParameters() |
MVVM/ViewModels/TrackModel.h | ||
bool IsDimmed() |
MVVM/ViewModels/TrackModel.h | ||
bool IsMuted() |
MVVM/ViewModels/TrackModel.h | ||
| MVVM/ViewModels/TrackModel.h | |||
bool IsResizable() |
MVVM/ViewModels/TrackModel.h | ||
bool IsSolo() |
MVVM/ViewModels/TrackModel.h | ||
void OnModifiedDirectly
(
UMovieSceneSignedObject* |
MVVM/ViewModels/TrackModel.h | ||
void OnModifiedIndirectly
(
UMovieSceneSignedObject* |
MVVM/ViewModels/TrackModel.h | ||
void Rename
(
const FText& NewName |
MVVM/ViewModels/TrackModel.h | ||
void Resize
(
float NewSize |
MVVM/ViewModels/TrackModel.h | ||
void SetCustomOrder
(
int32 InCustomOrder |
MVVM/ViewModels/TrackModel.h | ||
void SetIsLocked
(
bool bIsLocked |
MVVM/ViewModels/TrackModel.h | ||
void SetIsMuted
(
bool bIsMuted |
MVVM/ViewModels/TrackModel.h | ||
void SetIsSoloed
(
bool bIsSoloed |
MVVM/ViewModels/TrackModel.h | ||
void SortChildren() |
MVVM/ViewModels/TrackModel.h | ||
UE_SEQUENCER_DECLARE_CASTABLE_API
(
UE_API |
MVVM/ViewModels/TrackModel.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TOptional< EItemDropZone > CanAcceptDrop
(
const FViewModelPtr& TargetModel, |
MVVM/ViewModels/TrackModel.h | ||
virtual void OnConstruct() |
MVVM/ViewModels/TrackModel.h | ||
virtual void OnDeferredModifyFlush() |
IDeferredSignedObjectFlushSignal | MVVM/ViewModels/TrackModel.h | |
virtual void PerformDrop
(
const FViewModelPtr& TargetModel, |
MVVM/ViewModels/TrackModel.h |
Overridden from FOutlinerItemModelMixin
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BuildContextMenu
(
FMenuBuilder& MenuBuilder |
Get context menu contents. | MVVM/ViewModels/TrackModel.h | |
virtual void BuildSidebarMenu
(
FMenuBuilder& MenuBuilder |
MVVM/ViewModels/TrackModel.h | ||
virtual void CreateCurveModels
(
TArray< TUniquePtr< FCurveModel > >& OutCurveModels |
MVVM/ViewModels/TrackModel.h | ||
virtual bool GetDefaultExpansionState() |
Get the default expansion state if it wasn't saved in the movie-scene data | MVVM/ViewModels/TrackModel.h |
Overridden from ICurveEditorTreeItemExtension
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool HasCurves() |
Whether this view-model has any curves and needs to have a curve editor item created | MVVM/ViewModels/TrackModel.h |
Overridden from ITrackExtension
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UMovieSceneTrack * GetTrack() |
MVVM/ViewModels/TrackModel.h | ||
virtual TSharedPtr< ISequencerTrackEditor > GetTrackEditor() |
MVVM/ViewModels/TrackModel.h |
Overridden from ISectionOwnerExtension
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FViewModelChildren GetSectionModels() |
MVVM/ViewModels/TrackModel.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/TrackModel.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/TrackModel.h | |
virtual EConditionableConditionState GetConditionState() |
Returns condition state for this item | MVVM/ViewModels/TrackModel.h | |
virtual void SetConditionEditorForceTrue
(
bool bEditorForceTrue |
Set this item's condition to evaluate true for editor preview purposes | MVVM/ViewModels/TrackModel.h |
Protected Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ForceUpdate() |
Rebuilds the track's layout and child models. Override to customize track layout behavior. | MVVM/ViewModels/TrackModel.h | |
virtual void ShiftRowsDownFromIndex
(
int32 StartIndex, |
Shift all content at StartIndex and below down by 1 row | MVVM/ViewModels/TrackModel.h |
Overridden from ISectionDragOwnerExtension
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnBeginSectionVerticalDrag() |
Called when a vertical drag operation begins | MVVM/ViewModels/TrackModel.h | |
virtual void OnEndSectionVerticalDrag
(
const FSectionVerticalDragContext& Context |
Called when drag ends (mouse released). | MVVM/ViewModels/TrackModel.h | |
virtual bool OnSectionVerticalDrag
(
const FSectionVerticalDragContext& Context |
Called each frame during drag to handle vertical movement. Return trues if anything changed | MVVM/ViewModels/TrackModel.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static EViewModelListType GetTopLevelChannelGroupType() |
MVVM/ViewModels/TrackModel.h | ||
static EViewModelListType GetTopLevelChannelType() |
MVVM/ViewModels/TrackModel.h |