FSequencerSectionPainter

Class that wraps up common section painting functionality

Windows
MacOS
Linux

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

Name Description

Public variable

bool

 

bIsHighlighted

Whether the section is hovered or not

Public variable

bool

 

bIsSelected

Whether the section is selected or not

Public variable

bool

 

bParentEnabled

Whether our parent widget is enabled or not

Public variable

FSlateWindowEle...

 

DrawElements

List of slate draw elements - publicly modifiable

Public variable

float

 

GhostAlpha

Whether the section is to be drawn semi-transparent or not

Public variable

TArray< FKeyAre...

 

KeyAreaElements

Key area info with key area geometry for per key area track painting

Public variable

int32

 

LayerId

The layer ID we're painting on

Public variable

UMovieSceneSect...

 

Section

The movie scene section we're painting

Public variable

FSlateRect

 

SectionClippingRect

The full clipping rectangle for the section

Public variable

FGeometry

 

SectionGeometry

The full geometry of the section.

Constructors

Name Description

Public function

FSequencerSectionPainter

(
    FSlateWindowElementList& OutDrawEl...,
    const FGeometry& InSectionGeometry,
    UMovieSceneSection& Section
)

Constructor

Destructors

Name Description

Public function Virtual

~FSequencerSectionPainter()

Virtual destructor

Functions

Name Description

Public function Static

FLinearColor

 

BlendColor

(
    FLinearColor InColor
)

Blend the specified color with the default track color

Public function Const

const FTimeT...

 

GetTimeConverter()

Get a time-to-pixel converter for the section

Public function Const

UMovieSceneT...

 

GetTrack()

Get the track that this painter is painting sections for

Public function

int32

 

PaintSectionBackground()

Paint the section background with the tint stored on the track

Public function

int32

 

PaintSectionBackground

(
    const FLinearColor& Tint
)

Paint the section background with the specified tint override

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss