Navigation
API > API/Editor > API/Editor/Sequencer
References
| Module | Sequencer |
| Header | /Engine/Source/Editor/Sequencer/Public/SequencerSectionPainter.h |
| Include | #include "SequencerSectionPainter.h" |
Syntax
class FSequencerSectionPainter
Remarks
Class that wraps up common section painting functionality
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsHighlighted | Whether the section is hovered or not | |
| bool | bIsSelected | Whether the section is selected or not | |
| bool | bParentEnabled | Whether our parent widget is enabled or not | |
| FSlateWindowElementList & | DrawElements | List of slate draw elements - publicly modifiable | |
| float | GhostAlpha | Whether the section is to be drawn semi-transparent or not | |
| int32 | LayerId | The layer ID we're painting on | |
| FSlateRect | SectionClippingRect | The full clipping rectangle for the section | |
| FGeometry | SectionGeometry | The full geometry of the section. | |
| TSharedPtr< UE::Sequencer::FSectionModel > | SectionModel | The section we are painting |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSequencerSectionPainter
(
const FSequencerSectionPainter& |
|||
FSequencerSectionPainter
(
FSlateWindowElementList& OutDrawElements, |
Constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Virtual destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FLinearColor | BlendColor
(
FLinearColor InColor |
Blend the specified color with the default track color | |
| const FTimeToPixel & | Get a time-to-pixel converter for the section | ||
| UMovieSceneTrack * | GetTrack () |
Get the track that this painter is painting sections for | |
| int32 | Paint the section background with the tint stored on the track | ||
| int32 | PaintSectionBackground
(
const FLinearColor& Tint |
Paint the section background with the specified tint override |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FSequencerSectionPainter & | operator=
(
const FSequencerSectionPainter& |
||
| FSequencerSectionPainter & |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| UMovieSceneSection & | Section | Please use SectionModel->GetSection() instead |