Navigation
API > API/Developer > API/Developer/TraceInsights > API/Developer/TraceInsights/Insights > API/Developer/TraceInsights/Insights/ViewModels
Inheritance Hierarchy
- TSharedFromThis
- FBaseTimingTrack
- FGraphTrack
- FRandomGraphTrack
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
| Type | Name | Description | |
|---|---|---|---|
| bool | AreAllOptionsEnabled
(
EGraphOptions Options |
||
| void | DisableOptions
(
EGraphOptions Options |
||
| void | DrawHeader
(
const ITimingTrackDrawContext& Context |
||
| void | DrawSeries
(
const FGraphSeries& Series, |
||
| void | DrawVerticalAxisGrid
(
const ITimingTrackDrawContext& Context |
||
| void | EnableOptions
(
EGraphOptions Options |
||
| float | GetBorderY () |
Get the Y value that is used to provide a clipping border between adjacent graph tracks. | |
| EGraphOptions | |||
| EGraphOptions | |||
| int32 | TODO: virtual int GetDebugStringLineCount() const override; TODO: virtual void BuildDebugString(FString& OutStr) const override; | ||
| int32 | |||
| int32 | |||
| int32 | |||
| TArray< TSharedPtr< FGraphSeries > > & | GetSeries () |
||
| FGraphValueViewport & | |||
| const FGraphValueViewport & | |||
| const FName & | |||
| EGraphOptions | |||
| bool | IsAnyOptionEnabled
(
EGraphOptions Options |
||
| void | SetEditableOptions
(
EGraphOptions Options |
||
| void | SetEnabledOptions
(
EGraphOptions Options |
||
| void | SetVisibleOptions
(
EGraphOptions Options |
||
| void | ToggleOptions
(
EGraphOptions Options |
||
| void | UpdateStats () |
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. | |
| const FName & | GetTypeName () |
||
| void | InitTooltip
(
FTooltipDrawState& InOutTooltip, |
Called to initialize the tooltip's content with info from a timing event. | |
| bool | |||
| 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 | |
| PointVisualSize | Visual size of points (in pixels). |
| TypeName |