FTrackEditorThumbnail

Track Editor Thumbnail, which keeps a Texture to be displayed by a viewport.

Windows
MacOS
Linux

Inheritance Hierarchy

ISlateViewport

TSharedFromThis

FTrackEditorThumbnail

References

Module

MovieSceneTools

Header

/Engine/Source/Editor/MovieSceneTools/Public/TrackEditorThumbnail/TrackEditorThumbnail.h

Include

#include "TrackEditorThumbnail/TrackEditorThumbnail.h"

Syntax

class FTrackEditorThumbnail :
    public ISlateViewport,
    public TSharedFromThis< FTrackEditorThumbnail >

Remarks

Track Editor Thumbnail, which keeps a Texture to be displayed by a viewport.

Variables

Name Description

Public variable

FThreadSafeBool

 

bHasFinishedDrawing

True when this thumbnail has been drawn, false otherwise

Public variable

bool

 

bIgnoreAlpha

True to ignore alpha on this thumbnail

Public variable

int32

 

SortOrder

Sort order for this thumbnail

Constructors

Name Description

Public function

FTrackEditorThumbnail

(
    const FOnThumbnailDraw& InOnDraw,
    const FIntPoint& InDesiredSize,
    TRange< double > InTimeRange,
    double InPosition
)

Create and initialize a new instance.

Destructors

Name Description

Public function Virtual

~FTrackEditorThumbnail()

Virtual destructor.

Functions

Name Description

Public function

void

 

AssignFrom

Assign this thumbnail from a slate texture.

Public function

void

 

DrawThumbnail()

Renders the thumbnail to the texture.

Public function Const

FIntPoint

 

GetDesiredSize()

Get the desired size for this thumbnail on the UI

Public function Const

double

 

GetEvalPosition()

Get the time at which this thumbnail should be drawn

Public function Const

float

 

GetFadeInCurve()

Gets the curve for fading in the thumbnail.

Public function Const

FSlateTextur...

 

GetRenderTarget()

Access the (potentially null) render target to be used for rendering onto this thumbnail

Public function Const

const TRange...

 

GetTimeRange()

Get the full time-range that this thumbnail occupies

Public function

void

 

PlayFade()

Public function

void

 

ResizeRenderTarget

(
    const FIntPoint& InSize
)

Ensure that this thumbnail has a render target of the specified size

Public function

void

 

SetupFade

(
    const TSharedRef< SWidget >& InWid...
)

Prompt this thumbnail to fade in

Overridden from ISlateViewport

Name Description

Public function Virtual Const

FIntPoint

 

GetSize()

Returns the size of the viewport

Public function Virtual Const

FSlateShader...

 

GetViewportRenderTargetTexture()

Returns a slate texture used to draw the rendered viewport in Slate.

Public function Virtual Const

bool

 

RequiresVsync()

Returns true if the viewport should be vsynced.

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