Navigation
API > API/Editor > API/Editor/Sequencer
Templated channel interface that calls overloaded functions matching the necessary channel types. Designed this way to allow for specific customization of key-channel behavior without having to reimplement swathes of boilerplate. This base interface implements common functions that do not require extended editor data.
Behavior can be overridden for any channel type by declaring an overloaded function for the relevant channel type in the same namespace as the channel. For instance, to implement how to retrieve key times from a channel, implement the following function:
void GetKeyTimes(FMyChannelType* InChannel, TArrayView
| Name | TSequencerChannelInterfaceCommon |
| Type | struct |
| Header File | /Engine/Source/Editor/Sequencer/Public/SequencerChannelInterface.h |
| Include Path | #include "SequencerChannelInterface.h" |
Syntax
template<typename ChannelType>
struct TSequencerChannelInterfaceCommon : public ISequencerChannelInterface
Implements Interfaces
Derived Classes
- TSequencerChannelInterfaceBase< ChannelType, false >
- TSequencerChannelInterfaceBase< ChannelType, true >
Functions
Public
Overridden from ISequencerChannelInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanCreateKeyEditor_Raw
(
const FMovieSceneChannel* InChannel |
Check whether an editor on the sequencer node tree can be created for the specified channel | SequencerChannelInterface.h | |
virtual void CopyKeys_Raw
(
FMovieSceneChannel* InChannel, |
Copy all the keys specified in KeyMask to the specified clipboard | SequencerChannelInterface.h | |
virtual TSharedPtr< UE::Sequencer::FChannelModel > CreateChannelModel_Raw
(
const FMovieSceneChannelHandle& InChannelHandle, |
Create a new channel model for this type of channel | SequencerChannelInterface.h | |
virtual TSharedPtr< UE::Sequencer::STrackAreaLaneView > CreateChannelView_Raw
(
const FMovieSceneChannelHandle& InChannelHandle, |
Create a new channel view for this type of channel | SequencerChannelInterface.h | |
virtual TUniquePtr< FCurveModel > CreateCurveEditorModel_Raw
(
const FMovieSceneChannelHandle& InChannel, |
Create a new model for this channel that can be used on the curve editor interface | SequencerChannelInterface.h | |
virtual TSharedRef< SWidget > CreateKeyEditor_Raw
(
const FMovieSceneChannelHandle& Channel, |
Create an editor on the sequencer node tree | SequencerChannelInterface.h | |
virtual void DeleteKeys_Raw
(
FMovieSceneChannel* InChannel, |
Delete the specified keys. | SequencerChannelInterface.h | |
virtual int32 DrawExtra_Raw
(
FMovieSceneChannel* InChannel, |
Draw additional content in addition to keys for a particular channel | SequencerChannelInterface.h | |
virtual void DrawKeys_Raw
(
FMovieSceneChannel* InChannel, |
Gather information on how to draw the specified keys | SequencerChannelInterface.h | |
virtual void ExtendKeyMenu_Raw
(
FMenuBuilder& MenuBuilder, |
Extend the key context menu | SequencerChannelInterface.h | |
virtual void ExtendSectionMenu_Raw
(
FMenuBuilder& MenuBuilder, |
Extend the section context menu | SequencerChannelInterface.h | |
virtual TSharedPtr< ISidebarChannelExtension > ExtendSidebarMenu_Raw
(
FMenuBuilder& MenuBuilder, |
Extend the section sidebar menu | SequencerChannelInterface.h | |
virtual EMovieSceneKeyInterpolation GetInterpolationMode_Raw
(
FMovieSceneChannel* InChannel, |
Retrieve the interpolation mode for this curve at the current time | SequencerChannelInterface.h | |
virtual TSharedPtr< FStructOnScope > GetKeyStruct_Raw
(
FMovieSceneChannelHandle InChannel, |
Get an editable key struct for the specified key | SequencerChannelInterface.h | |
virtual void PasteKeys_Raw
(
FMovieSceneChannel* InChannel, |
Paste the specified key track into the specified channel | SequencerChannelInterface.h | |
virtual bool ShouldShowCurve_Raw
(
const FMovieSceneChannel* Channel, |
Whether this channel should draw a curve on its editor UI | SequencerChannelInterface.h | |
virtual bool SupportsCurveEditorModels_Raw
(
const FMovieSceneChannelHandle& InChannel |
Whether this channel supports curve models | SequencerChannelInterface.h |