Navigation
API > API/Editor > API/Editor/MovieSceneTools > API/Editor/MovieSceneTools/TrackEditors
Inheritance Hierarchy
- TSharedFromThis
- ISequencerTrackEditor
- FMovieSceneTrackEditor
- FSubTrackEditor
- FCinematicShotTrackEditor
References
| Module | MovieSceneTools |
| Header | /Engine/Source/Editor/MovieSceneTools/Public/TrackEditors/SubTrackEditor.h |
| Include | #include "TrackEditors/SubTrackEditor.h" |
Syntax
class FSubTrackEditor : public FMovieSceneTrackEditor
Remarks
Tools for subsequences
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSubTrackEditor
(
TSharedRef< ISequencer > InSequencer |
Constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Virtual destructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddTakesMenu
(
UMovieSceneSubSection* Section, |
Generate a menu for takes for this section | |
| bool | CanAddSubSequence
(
const UMovieSceneSequence& Sequence |
Check whether the given sequence can be added as a sub-sequence. | |
| bool | CanHandleAssetAdded
(
UMovieSceneSequence* Sequence |
Whether to handle this asset being dropped onto the sequence as opposed to a specific track. | |
| void | ChangeTake
(
UMovieSceneSequence* Sequence |
Switch the selected section's take sequence | |
| void | CreateNewTake
(
UMovieSceneSubSection* Section |
Create a new take of the given section | |
| TSharedRef< ISequencerTrackEditor > | CreateTrackEditor
(
TSharedRef< ISequencer > OwningSequencer |
Creates an instance of this class. Called by a sequencer | |
| void | DuplicateSection
(
UMovieSceneSubSection* Section |
Duplicate the section into this track | |
| void | EditMetaData
(
UMovieSceneSubSection* Section |
Edit the section's metadata | |
| UMovieSceneSubTrack * | FindOrCreateSubTrack
(
UMovieScene* MovieScene, |
Find or create a sub track. If the given track is a subtrack, it will be returned. | |
| FString | Get the sub sequence directory | ||
| FString | Get the default sub sequence name | ||
| FString | GetSubSectionDisplayName
(
const UMovieSceneSubSection* Section |
Get the display name for the sub section | |
| FName | Get the brush used for the sub track editor | ||
| TSubclassOf< UMovieSceneSubTrack > | Get the UMovieSceneSubTrack class | ||
| FText | Get the name of the sub track | ||
| FText | Get the tooltip for this sub track editor | ||
| void | GetSupportedSequenceClassPaths
(
TArray< FTopLevelAssetPath >& OutClassPaths |
Get the list of supported sequence class paths | |
| TSharedRef< SWidget > | Callback for generating the menu of the "Add Sequence" combo button. | ||
| bool | Callback for determining whether the "Add Subsequence" menu entry can execute. | ||
| void | Callback for executing the "Add Subsequence" menu entry. | ||
| void | InsertSection
(
UMovieSceneTrack* Track |
Insert sequence into this track |
Overridden from ISequencerTrackEditor
| Type | Name | Description | |
|---|---|---|---|
| void | BuildAddTrackMenu
(
FMenuBuilder& MenuBuilder |
Builds up the sequencer's "Add Track" menu. | |
| TSharedPtr< SWidget > | BuildOutlinerEditWidget
(
const FGuid& ObjectBinding, |
Builds an edit widget for the outliner nodes which represent tracks which are edited by this editor. | |
| const FSlateBrush * | GetIconBrush () |
Gets an icon brush for this track editor | |
| bool | HandleAssetAdded
(
UObject* Asset, |
Called when an asset is dropped into Sequencer. | |
| TSharedRef< ISequencerSection > | MakeSectionInterface
(
UMovieSceneSection& SectionObject, |
Called to generate a section layout for a particular section. | |
| bool | OnAllowDrop
(
const FDragDropEvent& DragDropEvent, |
Called when attempting to drop an asset directly onto a track. | |
| FReply | OnDrop
(
const FDragDropEvent& DragDropEvent, |
Called when an asset is dropped directly onto a track. | |
| bool | SupportsSequence
(
UMovieSceneSequence* InSequence |
Returns whether a sequence is supported by this tool. | |
| bool | SupportsType
(
TSubclassOf< UMovieSceneTrack > TrackClass |
Returns whether a track class is supported by this tool. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| UMovieSceneSubTrack * | CreateNewTrack
(
UMovieScene* MovieScene |
CreateNewTrack has been deprecated, please implement GetSubTrackClass | |
| void | SwitchTake
(
UObject* TakeObject |
SwitchTake has been deprecated, please use ChangeTake(UMovieSceneSequence*) |