Navigation
API > API/Developer > API/Developer/ProfileVisualizer
A timeline widget.
| Name | STimeline |
| Type | class |
| Header File | /Engine/Source/Developer/ProfileVisualizer/Public/STimeline.h |
| Include Path | #include "STimeline.h" |
Syntax
class STimeline : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → STimeline
- FSlateControlledConstruction → SWidget → SCompoundWidget → STimeline
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BackgroundImage | const FSlateBrush * | Background image to use for the graph bar | STimeline.h | |
| DrawingGeometry | FGeometry | STimeline.h | ||
| DrawingOffsetX | float | STimeline.h | ||
| FixedLabelSpacing | float | Fixed pixel spacing between centers of labels | STimeline.h | |
| MaxValue | float | Maximum value on the timeline | STimeline.h | |
| MinValue | float | Minimum value on the timeline | STimeline.h | |
| Offset | float | Current offset of the graph | STimeline.h | |
| Zoom | float | Current zoom of the graph | STimeline.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector2D ComputeDesiredSize
(
float |
STimeline.h | ||
void Construct
(
const FArguments& InArgs |
Construct the widget | STimeline.h | |
FGeometry GetDrawingGeometry() |
STimeline.h | ||
void GetMinMaxValues
(
float& InMin, |
STimeline.h | ||
float GetOffset() |
Gets the graph's offset value | STimeline.h | |
float GetZoom() |
STimeline.h | ||
virtual FReply OnMouseButtonDown
(
const FGeometry& MyGeometry, |
STimeline.h | ||
virtual FReply OnMouseMove
(
const FGeometry& MyGeometry, |
STimeline.h | ||
virtual int32 OnPaint
(
const FPaintArgs& Args, |
STimeline.h | ||
void SetDrawingGeometry
(
const FGeometry& Geometry |
STimeline.h | ||
void SetMinMaxValues
(
float InMin, |
Sets the graph's min and max values. | STimeline.h | |
void SetOffset
(
float InOffset |
Sets the graph's offset by which all graph bars should be moved | STimeline.h | |
void SetZoom
(
float InZoom |
Sets the graph's zoom level | STimeline.h | |
virtual void Tick
(
const FGeometry& AllottedGeometry, |
STimeline.h |