Navigation
API > API/Editor > API/Editor/Sequencer
Model for a sequencer section
| Name | FSectionModel |
| Type | class |
| Header File | /Engine/Source/Editor/Sequencer/Public/MVVM/ViewModels/SectionModel.h |
| Include Path | #include "MVVM/ViewModels/SectionModel.h" |
Syntax
class FSectionModel :
public FViewModel,
public FLinkedOutlinerExtension,
public IObjectModelExtension,
public ILayerBarExtension,
public ITrackLaneExtension,
public ISelectableExtension,
public UE::Sequencer::ISnappableExtension ,
public IDraggableTrackAreaExtension,
public IStretchableExtension,
public UE::Sequencer::IConditionableExtension ,
public UE::MovieScene::TIntrusiveEventHandler< UE::MovieScene::ISignedObjectEventHandler >,
public UE::MovieScene::TIntrusiveEventHandler< UE::MovieScene::ISectionEventHandler >
Inheritance Hierarchy
- FDynamicExtensionContainer → FViewModel → FSectionModel
- FSharedFromThisBase → TSharedFromThis → FViewModel → FSectionModel
- FLinkedOutlinerExtension → FSectionModel
- UE::MovieScene::TIntrusiveEventHandler< UE::MovieScene::ISignedObjectEventHandler > → FSectionModel
- UE::MovieScene::TIntrusiveEventHandler< UE::MovieScene::ISectionEventHandler > → FSectionModel
Implements Interfaces
- IObjectModelExtension
- ILayerBarExtension
- ITrackLaneExtension
- ISelectableExtension
- IDraggableTrackAreaExtension
- IStretchableExtension
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSectionModel() |
MVVM/ViewModels/SectionModel.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FSectionModel() |
MVVM/ViewModels/SectionModel.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnModelUpdated | TMulticastDelegate_OneParam< void, FSectionModel * > | MVVM/ViewModels/SectionModel.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnUpdated | FOnModelUpdated | MVVM/ViewModels/SectionModel.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ChannelList | FViewModelListHead | MVVM/ViewModels/SectionModel.h | ||
| LayerBarRange | TRange< FFrameNumber > | MVVM/ViewModels/SectionModel.h | ||
| PreviousLayoutChannelProxy | TWeakPtr< FMovieSceneChannelProxy > | MVVM/ViewModels/SectionModel.h | ||
| PreviousLayoutRowIndex | int32 | MVVM/ViewModels/SectionModel.h | ||
| SectionInterface | TSharedPtr< ISequencerSection > | MVVM/ViewModels/SectionModel.h | ||
| SectionRange | TRange< FFrameNumber > | MVVM/ViewModels/SectionModel.h | ||
| WeakSection | TWeakObjectPtr< UMovieSceneSection > | MVVM/ViewModels/SectionModel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTrackLaneVirtualAlignment ArrangeVirtualTrackLaneView() |
MVVM/ViewModels/SectionModel.h | ||
bool CanDrag() |
MVVM/ViewModels/SectionModel.h | ||
TSharedPtr< ITrackLaneWidget > CreateTrackLaneView
(
const FCreateTrackLaneViewParams& InParams |
MVVM/ViewModels/SectionModel.h | ||
TArray< FOverlappingSections > GetEasingSegments() |
Gets an array of sections whose easing bounds underlap the specified section | MVVM/ViewModels/SectionModel.h | |
TRange< FFrameNumber > GetLayerBarRange() |
MVVM/ViewModels/SectionModel.h | ||
virtual UObject * GetObject() |
MVVM/ViewModels/SectionModel.h | ||
TViewModelPtr< ITrackExtension > GetParentTrackExtension() |
Gets the parent track or track row model as an ITrackExtension | MVVM/ViewModels/SectionModel.h | |
TViewModelPtr< ITrackExtension > GetParentTrackModel() |
Gets the parent track or track row model | MVVM/ViewModels/SectionModel.h | |
int32 GetPostRollFrames() |
MVVM/ViewModels/SectionModel.h | ||
int32 GetPreRollFrames() |
MVVM/ViewModels/SectionModel.h | ||
TRange< FFrameNumber > GetRange() |
Gets the time range of the section | MVVM/ViewModels/SectionModel.h | |
UMovieSceneSection * GetSection() |
Gets the section object | MVVM/ViewModels/SectionModel.h | |
TSharedPtr< ISequencerSection > GetSectionInterface() |
Gets the section interface | MVVM/ViewModels/SectionModel.h | |
TArray< FOverlappingSections > GetUnderlappingSections() |
Gets an array of sections that underlap the specified section | MVVM/ViewModels/SectionModel.h | |
virtual void InitializeObject
(
TWeakObjectPtr<> InWeakObject |
MVVM/ViewModels/SectionModel.h | ||
void InitializeSection
(
TSharedPtr< ISequencerSection > InSectionInterface |
MVVM/ViewModels/SectionModel.h | ||
ESelectionIntent IsSelectable() |
MVVM/ViewModels/SectionModel.h | ||
bool NeedsLayout() |
Returns whether this section model needs to be rebuilt, ie. the channel proxy is no longer valid | MVVM/ViewModels/SectionModel.h | |
void OffsetLayerBar
(
FFrameNumber Amount |
MVVM/ViewModels/SectionModel.h | ||
void OnBeginDrag
(
IDragOperation& DragOperation |
MVVM/ViewModels/SectionModel.h | ||
EStretchResult OnBeginStretch
(
const IStretchOperation& StretchOperation, |
MVVM/ViewModels/SectionModel.h | ||
void OnEndDrag
(
IDragOperation& DragOperation |
MVVM/ViewModels/SectionModel.h | ||
void OnEndStretch
(
const IStretchOperation& StretchOperation, |
MVVM/ViewModels/SectionModel.h | ||
void OnInitiateStretch
(
IStretchOperation& StretchOperation, |
MVVM/ViewModels/SectionModel.h | ||
void OnModifiedDirectly
(
UMovieSceneSignedObject* |
MVVM/ViewModels/SectionModel.h | ||
void OnRowChanged
(
UMovieSceneSection* |
MVVM/ViewModels/SectionModel.h | ||
void OnStretch
(
const IStretchOperation& StretchOperation, |
MVVM/ViewModels/SectionModel.h | ||
void SetLayoutChannelProxy
(
TWeakPtr< FMovieSceneChannelProxy > InPreviousLayoutChannelProxy |
Set the channel proxy that was most recently used to layout this section model | MVVM/ViewModels/SectionModel.h | |
void SetLayoutRowIndex
(
int32 InRowIndex |
Set the row index that was most recently used to layout this section model | MVVM/ViewModels/SectionModel.h | |
UE_SEQUENCER_DECLARE_CASTABLE
(
FSectionModel, |
MVVM/ViewModels/SectionModel.h |
Overridden from ISnappableExtension
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddToSnapField
(
const ISnapCandidate& Candidate, |
MVVM/ViewModels/SectionModel.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/SectionModel.h | |
virtual EConditionableConditionState GetConditionState() |
Returns condition state for this item | MVVM/ViewModels/SectionModel.h | |
virtual void SetConditionEditorForceTrue
(
bool bEditorForceTrue |
Set this item's condition to evaluate true for editor preview purposes | MVVM/ViewModels/SectionModel.h |