STimeline

A timeline widget.

Unreal Engine C++ API Reference > Developer > ProfileVisualizer

Inheritance Hierarchy

References

   
Module ProfileVisualizer
Header /Engine/Source/Developer/ProfileVisualizer/Public/STimeline.h
Include #include "STimeline.h"

Syntax

class STimeline : public [SCompoundWidget](API\Runtime\SlateCore\Widgets\SCompoundWidget)  

Remarks

A timeline widget.

Functions

Type Name Description
void Construct ( const FArguments& InArgs ) Construct the widget
FGeometry GetDrawingGeometry ()  
void GetMinMaxValues ( float& InMin, float& InMax )  
float GetOffset () Gets the graph's offset value
float GetZoom ()  
void SetDrawingGeometry ( const FGeometry& Geometry )  
void SetMinMaxValues ( float InMin, float InMax ) Sets the graph's min and max values.
void SetOffset ( float InOffset ) Sets the graph's offset by which all graph bars should be moved
void SetZoom ( float InZoom ) Sets the graph's zoom level

Overridden from SWidget

Type Name Description
FVector2D ComputeDesiredSize ( float LayoutScaleMultiplier ) Compute the ideal size necessary to display this widget.
FReply OnMouseButtonDown ( const FGeometry& MyGeometry, const FPointerEvent& MouseEvent ) MOUSE INPUT The system calls this method to notify the widget that a mouse button was pressed within it.
FReply OnMouseMove ( const FGeometry& MyGeometry, const FPointerEvent& MouseEvent ) The system calls this method to notify the widget that a mouse moved within it.
int32 OnPaint ( const FPaintArgs& Args, const FGeometry& AllottedGeometry, const FSlateRect& MyCullingRect, FSlateWindowElementList& OutDrawEl..., int32 LayerId, const FWidgetStyle& InWidgetStyle, bool bParentEnabled ) The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children.
void Tick ( const FGeometry& AllottedGeometry, const double InCurrentTime, const float InDeltaTime ) Ticks this widget with Geometry.

Classes

Type Name Description
Public struct FArguments  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library