Navigation
Unreal Engine C++ API Reference > Developer > ProfileVisualizer
Inheritance Hierarchy
References
Module | ProfileVisualizer |
Header | /Engine/Source/Developer/ProfileVisualizer/Public/SGraphBar.h |
Include | #include "SGraphBar.h" |
Syntax
class SGraphBar : public [SLeafWidget](API\Runtime\SlateCore\Widgets\SLeafWidget)
Remarks
A graph bar widget.
Functions
Type | Name | Description |
---|---|---|
void | Construct ( const FArguments& InArgs ) | Construct the widget |
FVisualizerE... | GetEvents () | Gets all events this graph will draw |
float | GetOffset () | Gets the graph's offset value |
void | SetEvents ( const FVisualizerEventsArray& InEv..., double InStartTime, double InTotalTime ) | Adds profiler events to draw as bars |
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 ) | Overwritten from SWidget. |
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 ) | Overwritten from SWidget. |
void | Tick ( const FGeometry& AllottedGeometry, const double InCurrentTime, const float InDeltaTime ) | Ticks this widget with Geometry. |
Classes
Type | Name | Description |
---|---|---|
Public struct | FArguments |
Typedefs
Name | Description |
---|---|
FOnGeometryChanged | Delegate used allotted gemetry changes |
FOnSelectionChanged |
Constants
Name | Description |
---|---|
ColorPalette | Color palette for bars coloring |