Navigation
API > API/Editor > API/Editor/MovieSceneTools
Mixin class for sub-sequence section interfaces.
This mixin effectively wraps the 2 utility classes above, hooks them up to the ISequencerSection interface, and implements a few other ISequencerSection interface methods. As such, it's mostly handy boilerplate code, which you can avoid (if it doesn't fit your use-case) in favour of using the uility classes above directly.
| Name | TSubSectionMixin |
| Type | class |
| Header File | /Engine/Source/Editor/MovieSceneTools/Public/TrackEditors/SubTrackEditorBase.h |
| Include Path | #include "TrackEditors/SubTrackEditorBase.h" |
Syntax
template<typename ParentSectionClass>
class TSubSectionMixin : public ISequencerSection
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSubSectionMixin
(
TSharedPtr< ISequencer > InSequencer, |
TrackEditors/SubTrackEditorBase.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TrackHeight | const float | TrackEditors/SubTrackEditorBase.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EditorUtil | FSubSectionEditorUtil | Utility class for resizing/slipping sub-sequence sections | TrackEditors/SubTrackEditorBase.h | |
| SequencerPtr | TWeakPtr< ISequencer > | The Sequencer this section belongs to | TrackEditors/SubTrackEditorBase.h | |
| SubSectionObject | UMovieSceneSubSection & | The section object this interface represents | TrackEditors/SubTrackEditorBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDilateSection() |
TrackEditors/SubTrackEditorBase.h | ||
virtual void BeginResizeSection() |
TrackEditors/SubTrackEditorBase.h | ||
virtual void BeginSlipSection() |
TrackEditors/SubTrackEditorBase.h | ||
virtual void DilateSection
(
const TRange< FFrameNumber >& NewRange, |
TrackEditors/SubTrackEditorBase.h | ||
virtual float GetSectionHeight
(
const UE::Sequencer::FViewDensityInfo& ViewDensity |
TrackEditors/SubTrackEditorBase.h | ||
virtual UMovieSceneSection * GetSectionObject() |
TrackEditors/SubTrackEditorBase.h | ||
virtual TOptional< FFrameTime > GetSectionTime
(
FSequencerSectionPainter& InPainter |
TrackEditors/SubTrackEditorBase.h | ||
virtual FText GetSectionTitle() |
TrackEditors/SubTrackEditorBase.h | ||
virtual FText GetSectionToolTip() |
TrackEditors/SubTrackEditorBase.h | ||
virtual bool IsReadOnly() |
TrackEditors/SubTrackEditorBase.h | ||
virtual int32 OnPaintSection
(
FSequencerSectionPainter& InPainter |
TrackEditors/SubTrackEditorBase.h | ||
virtual FReply OnSectionDoubleClicked
(
const FGeometry& SectionGeometry, |
TrackEditors/SubTrackEditorBase.h | ||
| TrackEditors/SubTrackEditorBase.h | |||
virtual void ResizeSection
(
ESequencerSectionResizeMode ResizeMode, |
TrackEditors/SubTrackEditorBase.h | ||
virtual void SlipSection
(
FFrameNumber SlipTime |
TrackEditors/SubTrackEditorBase.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSubSectionEditorUtil & GetEditorUtil() |
TrackEditors/SubTrackEditorBase.h | ||
const SectionType & GetSectionObjectAs () |
TrackEditors/SubTrackEditorBase.h | ||
SectionType & GetSectionObjectAs () |
TrackEditors/SubTrackEditorBase.h | ||
TSharedPtr< ISequencer > GetSequencer() |
TrackEditors/SubTrackEditorBase.h | ||
| TrackEditors/SubTrackEditorBase.h | |||
const UMovieSceneSubSection & GetSubSectionObject () |
TrackEditors/SubTrackEditorBase.h |