Navigation
API > API/Developer > API/Developer/TraceInsights
| Name | FGraphTrack |
| Type | class |
| Header File | /Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/GraphTrack.h |
| Include Path | #include "Insights/ViewModels/GraphTrack.h" |
Syntax
class FGraphTrack : public FBaseTimingTrack
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FBaseTimingTrack → FGraphTrack
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGraphTrack
(
const FString& InName |
Insights/ViewModels/GraphTrack.h | ||
FGraphTrack () |
Insights/ViewModels/GraphTrack.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FGraphTrack() |
Insights/ViewModels/GraphTrack.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| PointSizeX | INSIGHTS_DECLARE_RTTI(FGraphTrack, FBaseTimingTrack, UE_API) private constexpr double | Size of points (in pixels) used in reduction algorithm. | Insights/ViewModels/GraphTrack.h |
| PointSizeY | float | Insights/ViewModels/GraphTrack.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AreAllOptionsEnabled
(
EGraphOptions Options |
Insights/ViewModels/GraphTrack.h | ||
void DisableOptions
(
EGraphOptions Options |
Insights/ViewModels/GraphTrack.h | ||
void EnableOptions
(
EGraphOptions Options |
Insights/ViewModels/GraphTrack.h | ||
EGraphOptions GetEditableOptions() |
Insights/ViewModels/GraphTrack.h | ||
EGraphOptions GetEnabledOptions() |
Insights/ViewModels/GraphTrack.h | ||
int32 GetNumAddedEvents() |
TODO: virtual int GetDebugStringLineCount() const override; TODO: virtual void BuildDebugString(FString& OutStr) const override; | Insights/ViewModels/GraphTrack.h | |
int32 GetNumDrawBoxes() |
Insights/ViewModels/GraphTrack.h | ||
int32 GetNumDrawLines() |
Insights/ViewModels/GraphTrack.h | ||
int32 GetNumDrawPoints() |
Insights/ViewModels/GraphTrack.h | ||
TArray< TSharedPtr< FGraphSeries > > & GetSeries() |
Insights/ViewModels/GraphTrack.h | ||
| Insights/ViewModels/GraphTrack.h | |||
const FGraphValueViewport & GetSharedValueViewport () |
Insights/ViewModels/GraphTrack.h | ||
EGraphOptions GetVisibleOptions() |
Insights/ViewModels/GraphTrack.h | ||
bool IsAnyOptionEnabled
(
EGraphOptions Options |
Insights/ViewModels/GraphTrack.h | ||
void SetEditableOptions
(
EGraphOptions Options |
Insights/ViewModels/GraphTrack.h | ||
void SetEnabledOptions
(
EGraphOptions Options |
Insights/ViewModels/GraphTrack.h | ||
void SetVisibleOptions
(
EGraphOptions Options |
Insights/ViewModels/GraphTrack.h | ||
void ToggleOptions
(
EGraphOptions Options |
Insights/ViewModels/GraphTrack.h |
Overridden from FBaseTimingTrack
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BuildContextMenu
(
FMenuBuilder& MenuBuilder |
Insights/ViewModels/GraphTrack.h | ||
virtual void Draw
(
const ITimingTrackDrawContext& Context |
Draw callback (called from OnPaint) to draw the track's content. | Insights/ViewModels/GraphTrack.h | |
virtual void DrawEvent
(
const ITimingTrackDrawContext& Context, |
Draw a single event (can be used to draw only the highlight for a selected and/or hovered event). | Insights/ViewModels/GraphTrack.h | |
virtual const TSharedPtr< const ITimingEvent > GetEvent
(
float InPosX, |
Gets the event at a specified position. | Insights/ViewModels/GraphTrack.h | |
virtual void InitTooltip
(
FTooltipDrawState& InOutTooltip, |
Called to initialize the tooltip's content with info from a timing event. | Insights/ViewModels/GraphTrack.h | |
virtual void PostUpdate
(
const ITimingTrackUpdateContext& Context |
PostUpdate callback called each frame, but only if the track is visible. | Insights/ViewModels/GraphTrack.h | |
virtual void PreDraw
(
const ITimingTrackDrawContext& Context |
PreDraw callback (called from OnPaint) to draw something in the background. | Insights/ViewModels/GraphTrack.h | |
virtual void Reset() |
Insights/ViewModels/GraphTrack.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ContextMenu_ToggleOption_CanExecute
(
EGraphOptions Option |
Insights/ViewModels/GraphTrack.h | ||
virtual void ContextMenu_ToggleOption_Execute
(
EGraphOptions Option |
Insights/ViewModels/GraphTrack.h | ||
bool ContextMenu_ToggleOption_IsChecked
(
EGraphOptions Option |
Insights/ViewModels/GraphTrack.h | ||
virtual void DrawHeader
(
const ITimingTrackDrawContext& Context |
Insights/ViewModels/GraphTrack.h | ||
void DrawSeries
(
const FGraphSeries& Series, |
Insights/ViewModels/GraphTrack.h | ||
virtual void DrawVerticalAxisGrid
(
const ITimingTrackDrawContext& Context |
Insights/ViewModels/GraphTrack.h | ||
virtual float GetBorderY() |
Get the Y value that is used to provide a clipping border between adjacent graph tracks. | Insights/ViewModels/GraphTrack.h | |
void UpdateStats() |
Insights/ViewModels/GraphTrack.h |