Navigation
API > API/Developer > API/Developer/TraceInsights > API/Developer/TraceInsights/Insights > API/Developer/TraceInsights/Insights/ViewModels
Inheritance Hierarchy
References
| Module | TraceInsights |
| Header | /Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/GraphTrack.h |
| Include | #include "Insights/ViewModels/GraphTrack.h" |
Syntax
class FGraphTrack : public FBaseTimingTrack
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TSharedPtr< FGraphSeries > > | AllSeries | ||
| const FSlateBrush * | BorderBrush | ||
| EGraphOptions | EditableOptions | ||
| EGraphOptions | EnabledOptions | Flags controlling various Graph options. | |
| const FSlateFontInfo | Font | ||
| int32 | NumAddedEvents | Stats. | |
| int32 | NumDrawBoxes | ||
| int32 | NumDrawLines | ||
| int32 | NumDrawPoints | ||
| const FSlateBrush * | PointBrush | ||
| FGraphValueViewport | SharedValueViewport | ||
| double | TimeScaleX | ||
| EGraphOptions | VisibleOptions | ||
| const FSlateBrush * | WhiteBrush | Slate resources. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FGraphTrack () |
|||
FGraphTrack
(
const FString& InName |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FGraphTrack () |
Functions
Overridden from FBaseTimingTrack
| Type | Name | Description | |
|---|---|---|---|
| void | BuildContextMenu
(
FMenuBuilder& MenuBuilder |
||
| void | Draw
(
const ITimingTrackDrawContext& Context |
Draw callback (called from OnPaint) to draw the track's content. | |
| void | DrawEvent
(
const ITimingTrackDrawContext& Context, |
Draw a single event (can be used to draw only the highlight for a selected and/or hovered event). | |
| const TSharedPtr< const ITimingEvent > | GetEvent
(
float InPosX, |
Gets the event at a specified position. | |
| void | InitTooltip
(
FTooltipDrawState& InOutTooltip, |
Called to initialize the tooltip's content with info from a timing event. | |
| void | PostUpdate
(
const ITimingTrackUpdateContext& Context |
PostUpdate callback called each frame, but only if the track is visible. | |
| void | PreDraw
(
const ITimingTrackDrawContext& Context |
PreDraw callback (called from OnPaint) to draw something in the background. | |
| void | Reset () |
Constants
| Name | Description |
|---|---|
| PointSizeX | Size of points (in pixels) used in reduction algorithm. |
| PointSizeY |