| ISequencerChannelInterface
|
Module |
|
Header |
/Engine/Source/Editor/Sequencer/Public/SequencerChannelInterface.h |
Include |
#include "SequencerChannelInterface.h" |
template<typename ChannelType>
struct TSequencerChannelInterfaceCommon : public ISequencerChannelInterface
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<const FKeyHandle> InHandles, TArrayView<FFrameNumber> OutKeyTimes);
Name | Description | ||
---|---|---|---|
|
CanCreateKeyEditor_Raw ( |
Check whether an editor on the sequencer node tree can be created for the specified channel |
|
|
CopyKeys_Raw ( |
Copy all the keys specified in KeyMask to the specified clipboard |
|
|
TUniquePtr< ... |
CreateCurveEditorModel_Raw ( |
Create a new model for this channel that can be used on the curve editor interface |
|
TSharedRef< ... |
CreateKeyEditor_Raw ( |
Create an editor on the sequencer node tree |
|
DrawKeys_Raw ( |
Gather information on how to draw the specified keys |
|
|
ExtendKeyMenu_Raw ( |
Extend the key context menu |
|
|
ExtendSectionMenu_Raw ( |
Extend the section context menu |
|
|
TSharedPtr< ... |
GetKeyStruct_Raw ( |
Get an editable key struct for the specified key |
|
PasteKeys_Raw ( |
Paste the specified key track into the specified channel |
|
|
SupportsCurveEditorModels_Raw ( |
Whether this channel supports curve models |