Navigation
API > API/Editor > API/Editor/Sequencer
Inheritance Hierarchy
- TSharedFromThis
- IKeyArea
References
| Module | Sequencer |
| Header | /Engine/Source/Editor/Sequencer/Public/IKeyArea.h |
| Include | #include "IKeyArea.h" |
Syntax
class IKeyArea : public TSharedFromThis< IKeyArea >
Remarks
Interface that should be implemented for the UI portion of a key area within a section
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32 | TreeSerialNumber | Serial number of the node tree from the last time this key area was seen |
Constructors
| Type | Name | Description | |
|---|---|---|---|
IKeyArea
(
TWeakPtr< ISequencerSection > InSection, |
Constructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FKeyHandle | AddOrUpdateKey
(
FFrameNumber Time, |
Add a key at the specified time with the current value of the channel, updating an existing key if possible | |
| bool | Check whether this key area can create an editor on the sequencer node tree | ||
| void | CopyKeys
(
FMovieSceneClipboardBuilder& ClipboardBuilder, |
Copy all the keys specified in KeyMask to the specified clipboard | |
| TUniquePtr< FCurveModel > | CreateCurveEditorModel
(
TSharedRef< ISequencer > InSequencer |
Create a new model for this key area that can be used on the curve editor interface | |
| TSharedRef< SWidget > | CreateKeyEditor
(
TWeakPtr< ISequencer > Sequencer, |
Create an editor on the sequencer node tree | |
| int32 | DrawExtra
(
const FSequencerChannelPaintArgs& PaintArgs, |
Draw additional content in addition to keys for a particular IKeyArea | |
| void | DrawKeys
(
TArrayView< const FKeyHandle > InKeyHandles, |
Gather key drawing information for the specified key handles | |
| FKeyHandle | DuplicateKey
(
FKeyHandle InKeyHandle |
Duplicate the key represented by the specified handle | |
| ISequencerChannelInterface * | Locate the sequencer channel interface for this key area's channel | ||
| const FMovieSceneChannelHandle & | GetChannel () |
Access the channel handle that this key area represents | |
| FName | Access the channel type identifier for the channel that this key area wraps | ||
| TOptional< FLinearColor > | GetColor () |
Get the color of this channel that should be drawn underneath its keys | |
| void | GetKeyHandles
(
TArray< FKeyHandle >& OutHandles, |
Get all key handles that exist within the given time range | |
| void | GetKeyInfo
(
TArray< FKeyHandle >* OutHandles, |
Populate the specified handle and/or time arrays with information pertaining to keys that exist within the given range | |
| TSharedPtr< FStructOnScope > | GetKeyStruct
(
FKeyHandle KeyHandle |
Get a key structure for editing a value on this channel | |
| FFrameNumber | GetKeyTime
(
FKeyHandle InKeyHandle |
Get the time of the key represented by the specified handle | |
| void | GetKeyTimes
(
TArrayView< const FKeyHandle > InKeyHandles, |
Get the times of every key represented by the specified handles | |
| void | GetKeyTimes
(
TArray< FFrameNumber >& OutTimes, |
Get all key times that exist within the given time range | |
| FName | GetName () |
Get this key area's name | |
| UMovieSceneSection * | Access section that owns the channel this key area represents | ||
| FRichCurve * | GetRichCurve () |
||
| TSharedPtr< ISequencerSection > | Access section editor interface | ||
| TArray< FKeyHandle > | PasteKeys
(
const FMovieSceneClipboardKeyTrack& KeyTrack, |
Paste the specified key track into this key area | |
| void | Reinitialize
(
TWeakPtr< ISequencerSection > InSection, |
Reinitialize this key area with a new channel | |
| FMovieSceneChannel * | Resolve this key area's channel handle | ||
| void | SetKeyTime
(
FKeyHandle InKeyHandle, |
Set the time of the key with the specified handle | |
| void | SetKeyTimes
(
TArrayView< const FKeyHandle > InKeyHandles, |
Set the times of the each key with the specified handles | |
| void | Set this key area's name | ||
| bool | Check whether we should show this key area's curve on its channel UI or not |