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