FGraphTrack

Unreal Engine C++ API Reference > 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](API\Developer\TraceInsights\Insights\ViewModels\FBaseTimingTrack)  

Variables

Type Name Description
TArray< TShared... AllSeries  
const FSlateBru... BorderBrush  
EGraphOptions EditableOptions  
EGraphOptions EnabledOptions Flags controlling various Graph options.
const FSlateFon... Font  
int32 NumAddedEvents Stats.
int32 NumDrawBoxes  
int32 NumDrawLines  
int32 NumDrawPoints  
const FSlateBru... PointBrush  
FGraphValueView... SharedValueViewport  
double TimeScaleX  
EGraphOptions VisibleOptions  
const FSlateBru... 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& Con... )  
void DrawSeries ( const FGraphSeries& Series, FDrawContext& DrawContext, const FTimingTrackViewport& Viewpo... )  
void DrawVerticalAxisGrid ( const ITimingTrackDrawContext& Con... )  
void EnableOptions ( EGraphOptions Options )  
float GetBorderY () Get the Y value that is used to provide a clipping border between adjacent graph tracks.
EGraphOption... GetEditableOptions ()  
EGraphOption... GetEnabledOptions ()  
int32 GetNumAddedEvents () TODO: virtual int GetDebugStringLineCount() const override; TODO: virtual void BuildDebugString(FString& OutStr) const override;
int32 GetNumDrawBoxes ()  
int32 GetNumDrawLines ()  
int32 GetNumDrawPoints ()  
TArray< TSha... GetSeries ()  
FGraphValueV... GetSharedValueViewport ()  
const FGraph... GetSharedValueViewport ()  
const FName ... GetStaticTypeName ()  
EGraphOption... GetVisibleOptions ()  
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& Con... ) Draw callback (called from OnPaint) to draw the track's content.
void DrawEvent ( const ITimingTrackDrawContext& Con..., const ITimingEvent& InTimingEvent, EDrawEventMode InDrawMode ) Draw a single event (can be used to draw only the highlight for a selected and/or hovered event).
const TShare... GetEvent ( float InPosX, float InPosY, const FTimingTrackViewport& Viewpo... ) Gets the event at a specified position.
const FName ... GetTypeName ()  
void InitTooltip ( FTooltipDrawState& InOutTooltip, const ITimingEvent& InTooltipEvent ) Called to initialize the tooltip's content with info from a timing event.
bool IsKindOf ( const FName& InTypeName )  
void PostUpdate ( const ITimingTrackUpdateContext& C... ) PostUpdate callback called each frame, but only if the track is visible.
void PreDraw ( const ITimingTrackDrawContext& Con... ) 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  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library