Navigation
API > API/Editor > API/Editor/MovieSceneTools > API/Editor/MovieSceneTools/TrackEditorThumbnail
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
| Type | Name | Description | |
|---|---|---|---|
| FThreadSafeBool | bHasFinishedDrawing | True when this thumbnail has been drawn, false otherwise | |
| bool | bIgnoreAlpha | True to ignore alpha on this thumbnail | |
| int32 | SortOrder | Sort order for this thumbnail |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FTrackEditorThumbnail
(
const FOnThumbnailDraw& InOnDraw, |
Create and initialize a new instance. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Virtual destructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AssignFrom
(
TSharedRef< FSlateTextureData, ESPMode::ThreadSafe > InTextureData |
Assign this thumbnail from a slate texture. | |
| void | Destroy the texture on the next tick | ||
| void | Renders the thumbnail to the texture. | ||
| FIntPoint | Get the desired size for this thumbnail on the UI | ||
| double | Get the time at which this thumbnail should be drawn | ||
| float | Gets the curve for fading in the thumbnail. | ||
| FSlateTextureRenderTarget2DResource * | Access the (potentially null) render target to be used for rendering onto this thumbnail | ||
| const TRange< double > | GetTimeRange () |
Get the full time-range that this thumbnail occupies | |
| void | PlayFade () |
||
| void | ResizeRenderTarget
(
const FIntPoint& InSize |
Ensure that this thumbnail has a render target of the specified size | |
| void | SetupFade
(
const TSharedRef< SWidget >& InWidget |
Prompt this thumbnail to fade in |
Overridden from ISlateViewport
| Type | Name | Description | |
|---|---|---|---|
| FIntPoint | GetSize () |
Returns the size of the viewport | |
| FSlateShaderResource * | Returns a slate texture used to draw the rendered viewport in Slate. | ||
| bool | Returns true if the viewport should be vsynced. |