FThumbnailSection

Thumbnail section, which paints and ticks the appropriate section.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MovieSceneTools

Header

/Engine/Source/Editor/MovieSceneTools/Public/Sections/ThumbnailSection.h

Include

#include "Sections/ThumbnailSection.h"

Syntax

class FThumbnailSection :
    public ISequencerSection,
    public TSharedFromThis< FThumbnailSection >

Remarks

Thumbnail section, which paints and ticks the appropriate section.

Variables

Name Description

Protected variable

ESlateDrawEffec...

 

AdditionalDrawEffect

Additional draw effects

Protected variable

TSharedPtr< SIn...

 

NameWidget

Rename widget

Protected variable

FDelegateHandle

 

RedrawThumbnailDelegateHandle

Protected variable

EMovieScenePlay...

 

SavedPlaybackStatus

Saved playback status. Used for restoring state when rendering thumbnails

Protected variable

UMovieSceneSect...

 

Section

The section we are visualizing.

Protected variable

TWeakPtr< ISequ...

 

SequencerPtr

The parent sequencer we are a part of.

Protected variable

FTrackEditorThu...

 

ThumbnailCache

A list of all thumbnails this section has.

Protected variable

ETimeSpace

 

TimeSpace

Enumeration value specifyin in which time-space to generate thumbnails

Protected variable

const FSlateBru...

 

WhiteBrush

Fade brush.

Constructors

Name Description

Public function

FThumbnailSection

(
    TSharedPtr< ISequencer > InSequence...,
    TSharedPtr< FTrackEditorThumbnailPo...,
    IViewportThumbnailClient* InVi...,
    UMovieSceneSection& InSection
)

Create and initialize a new instance.

Public function

FThumbnailSection

(
    TSharedPtr< ISequencer > InSequence...,
    TSharedPtr< FTrackEditorThumbnailPo...,
    ICustomThumbnailClient* InCust...,
    UMovieSceneSection& InSection
)

Destructors

Name Description

Public function

~FThumbnailSection()

Destructor.

Functions

Name Description

Public function Virtual Const

bool

 

CanRename()

Get whether the text is renameable

Public function

void

 

DestroyThumbnails_Latent()

Destroy the thumbnails on the next tick.

Public function

void

 

EnterRename()

Enter rename mode for the section

Protected function Const

EVisibility

 

GetRenameVisibility()

Get rename visibility

Public function

TSharedRef< ...

 

GetSequencerWidget()

Protected function Const

TRange< doub...

 

GetTotalRange()

Get the total range that thumbnails are to be generated for in the section's time space

Protected function Const

TRange< doub...

 

GetVisibleRange()

Get the range that is currently visible in the section's time space

Public function Virtual Const

FText

 

HandleThumbnailTextBlockText()

Callback for getting the text of the track name text block.

Public function Virtual

void

 

HandleThumbnailTextBlockTextCommitted

(
    const FText& NewThumbnailName,
    ETextCommit::Type CommitType
)

Callback for when the text of the track name text block has changed.

Protected function

void

 

RedrawThumbnails()

Called to force a redraw of this section's thumbnails

Public function

void

 

SetSingleTime

(
    double GlobalTime
)

Set this thumbnail section to draw a single thumbnail at the specified time

Overridden from ISequencerSection

Name Description

Public function Virtual

void

 

BuildSectionContextMenu

(
    FMenuBuilder& MenuBuilder,
    const FGuid& ObjectBinding
)

Builds up the section context menu for the outliner

Public function Virtual

TSharedRef< ...

 

GenerateSectionWidget()

Allows each section to have it's own unique widget for advanced editing functionality OnPaintSection will still be called if a widget is provided.

Public function Virtual Const

float

 

GetSectionGripSize()

Public function Virtual Const

float

 

GetSectionHeight()

Public function Virtual

UMovieSceneS...

 

GetSectionObject()

The MovieSceneSection data being visualized

Public function Virtual Const

FText

 

GetSectionTitle()

Public function Virtual Const

int32

 

OnPaintSection

(
    FSequencerSectionPainter& InPainte...
)

Called when the section should be painted

Public function Virtual

void

 

Tick

(
    const FGeometry& AllottedGeometry,
    const FGeometry& ClippedGeometry,
    const double InCurrentTime,
    const float InDeltaTime
)

Ticks the section during the Slate tick

Enums

Name

Description

Protected enum

ETimeSpace

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