Navigation
API > API/Editor > API/Editor/MovieSceneTools
Tools for subsequences
| Name | FSubTrackEditor |
| Type | class |
| Header File | /Engine/Source/Editor/MovieSceneTools/Public/TrackEditors/SubTrackEditor.h |
| Include Path | #include "TrackEditors/SubTrackEditor.h" |
Syntax
class FSubTrackEditor : public FKeyframeTrackEditor< UMovieSceneSubTrack >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FMovieSceneTrackEditor → FKeyframeTrackEditor → FSubTrackEditor
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSubTrackEditor
(
TSharedRef< ISequencer > InSequencer |
Constructor | TrackEditors/SubTrackEditor.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSubTrackEditor() |
Virtual destructor. | TrackEditors/SubTrackEditor.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SectionsWithPreviews | TArray< UMovieSceneSubSection * > | Sections this editor has added preview data to for keyframing. | TrackEditors/SubTrackEditor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddTakesMenu
(
UMovieSceneSubSection* Section, |
Generate a menu for takes for this section | TrackEditors/SubTrackEditor.h | |
virtual void BuildAddTrackMenu
(
FMenuBuilder& MenuBuilder |
TrackEditors/SubTrackEditor.h | ||
virtual TSharedPtr< SWidget > BuildOutlinerEditWidget
(
const FGuid& ObjectBinding, |
TrackEditors/SubTrackEditor.h | ||
bool CanAddSubSequence
(
const UMovieSceneSequence& Sequence |
Check whether the given sequence can be added as a sub-sequence. | TrackEditors/SubTrackEditor.h | |
virtual bool CanAddTransformKeysForSelectedObjects() |
TrackEditors/SubTrackEditor.h | ||
virtual void ChangeTake
(
UMovieSceneSequence* Sequence |
Switch the selected section's take sequence | TrackEditors/SubTrackEditor.h | |
virtual void CreateNewTake
(
UMovieSceneSubSection* Section |
Create a new take of the given section | TrackEditors/SubTrackEditor.h | |
virtual void DuplicateSection
(
UMovieSceneSubSection* Section |
Duplicate the section into this track | TrackEditors/SubTrackEditor.h | |
virtual void EditMetaData
(
UMovieSceneSubSection* Section |
Edit the section's metadata | TrackEditors/SubTrackEditor.h | |
virtual bool GetDefaultExpansionState
(
UMovieSceneTrack* InTrack |
TrackEditors/SubTrackEditor.h | ||
virtual FString GetDefaultSubsequenceDirectory() |
Get the sub sequence directory | TrackEditors/SubTrackEditor.h | |
virtual FString GetDefaultSubsequenceName() |
Get the default sub sequence name | TrackEditors/SubTrackEditor.h | |
virtual const FSlateBrush * GetIconBrush() |
TrackEditors/SubTrackEditor.h | ||
int32 GetPreviousKey
(
FMovieSceneDoubleChannel& Channel, |
Helper function that finds the previous key. Used to "unwind" rotators | TrackEditors/SubTrackEditor.h | |
virtual FString GetSubSectionDisplayName
(
const UMovieSceneSubSection* Section |
Get the display name for the sub section | TrackEditors/SubTrackEditor.h | |
virtual FName GetSubTrackBrushName() |
Get the brush used for the sub track editor | TrackEditors/SubTrackEditor.h | |
virtual TSubclassOf< UMovieSceneSubTrack > GetSubTrackClass() |
Get the UMovieSceneSubTrack class | TrackEditors/SubTrackEditor.h | |
virtual FText GetSubTrackName() |
Get the name of the sub track | TrackEditors/SubTrackEditor.h | |
virtual FText GetSubTrackToolTip() |
Get the tooltip for this sub track editor | TrackEditors/SubTrackEditor.h | |
FTransform GetTransformOriginDataForSubSection
(
const UMovieSceneSubSection* SubSection |
Query's the channel data directly (does not take parent transforms into account). | TrackEditors/SubTrackEditor.h | |
| TrackEditors/SubTrackEditor.h | |||
virtual bool HasTransformKeyBindings() |
TrackEditors/SubTrackEditor.h | ||
virtual void InsertSection
(
UMovieSceneTrack* Track |
Insert sequence into this track | TrackEditors/SubTrackEditor.h | |
virtual bool IsResizable
(
UMovieSceneTrack* InTrack |
TrackEditors/SubTrackEditor.h | ||
virtual TSharedRef< ISequencerSection > MakeSectionInterface
(
UMovieSceneSection& SectionObject, |
TrackEditors/SubTrackEditor.h | ||
virtual void OnAddTransformKeysForSelectedObjects
(
EMovieSceneTransformChannel Channel |
TrackEditors/SubTrackEditor.h | ||
virtual bool OnAllowDrop
(
const FDragDropEvent& DragDropEvent, |
TrackEditors/SubTrackEditor.h | ||
virtual FReply OnDrop
(
const FDragDropEvent& DragDropEvent, |
TrackEditors/SubTrackEditor.h | ||
virtual void OnInitialize() |
TrackEditors/SubTrackEditor.h | ||
virtual void OnRelease() |
TrackEditors/SubTrackEditor.h | ||
virtual void ProcessKeyOperation
(
FFrameNumber InKeyTime, |
TrackEditors/SubTrackEditor.h | ||
void ResetSectionPreviews () |
Called when sequence playback updates to revert preview data on modified secitons | TrackEditors/SubTrackEditor.h | |
void ResetSectionPreviews
(
FMovieSceneSequenceIDRef IDRef |
TrackEditors/SubTrackEditor.h | ||
void ResetSectionPreviews
(
const FMovieSceneChannelMetaData* MetaData, |
TrackEditors/SubTrackEditor.h | ||
virtual void Resize
(
float NewSize, |
TrackEditors/SubTrackEditor.h | ||
virtual bool SupportsSequence
(
UMovieSceneSequence* InSequence |
TrackEditors/SubTrackEditor.h | ||
double UnwindChannel
(
const double& OldValue, |
Helper function to fix-up Euler rotations if they would go over 180 degrees due to interpolation. | TrackEditors/SubTrackEditor.h | |
void UpdateActiveMode() |
Update the current active edit mode when a subtrack or section is selected. | TrackEditors/SubTrackEditor.h | |
void UpdateOrigin
(
FVector InPosition, |
Called when the editor mode has made external changes to the origin data. | TrackEditors/SubTrackEditor.h |
Overridden from FKeyframeTrackEditor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FText GetDisplayName() |
TrackEditors/SubTrackEditor.h | ||
virtual bool SupportsType
(
TSubclassOf< UMovieSceneTrack > Type |
TrackEditors/SubTrackEditor.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanHandleAssetAdded
(
UMovieSceneSequence* Sequence |
Whether to handle this asset being dropped onto the sequence as opposed to a specific track. | TrackEditors/SubTrackEditor.h | |
virtual UMovieSceneSubTrack * CreateNewTrack
(
UMovieScene* MovieScene |
TrackEditors/SubTrackEditor.h | ||
UMovieSceneSubTrack * FindOrCreateSubTrack
(
UMovieScene* MovieScene, |
Find or create a sub track. If the given track is a subtrack, it will be returned. | TrackEditors/SubTrackEditor.h | |
virtual void GetSupportedSequenceClassPaths
(
TArray< FTopLevelAssetPath >& OutClassPaths |
Get the list of supported sequence class paths | TrackEditors/SubTrackEditor.h | |
TSharedRef< SWidget > HandleAddSubSequenceComboButtonGetMenuContent
(
UE::Sequencer::TWeakViewModelPtr< UE::Sequencer::ITrackExtension > TrackModel |
Callback for generating the menu of the "Add Sequence" combo button. | TrackEditors/SubTrackEditor.h | |
virtual bool HandleAddSubTrackMenuEntryCanExecute() |
Callback for determining whether the "Add Subsequence" menu entry can execute. | TrackEditors/SubTrackEditor.h | |
virtual void HandleAddSubTrackMenuEntryExecute() |
Callback for executing the "Add Subsequence" menu entry. | TrackEditors/SubTrackEditor.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedRef< ISequencerTrackEditor > CreateTrackEditor
(
TSharedRef< ISequencer > OwningSequencer |
Creates an instance of this class. Called by a sequencer | TrackEditors/SubTrackEditor.h |