FGraphTrack

Windows
MacOS
Linux

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

Name Description

Protected variable

TArray< TShared...

 

AllSeries

Protected variable

const FSlateBru...

 

BorderBrush

Protected variable

EGraphOptions

 

EditableOptions

Protected variable

EGraphOptions

 

EnabledOptions

Flags controlling various Graph options.

Protected variable

const FSlateFon...

 

Font

Protected variable

int32

 

NumAddedEvents

Stats.

Protected variable

int32

 

NumDrawBoxes

Protected variable

int32

 

NumDrawLines

Protected variable

int32

 

NumDrawPoints

Protected variable

const FSlateBru...

 

PointBrush

Protected variable

FGraphValueView...

 

SharedValueViewport

Protected variable

EGraphOptions

 

VisibleOptions

Protected variable

const FSlateBru...

 

WhiteBrush

Slate resources.

Constructors

Name Description

Public function

FGraphTrack()

Public function

FGraphTrack

(
    const FString& InName
)

Destructors

Name Description

Public function Virtual

~FGraphTrack()

Functions

Name Description

Public function Const

bool

 

AreAllOptionsEnabled

(
    EGraphOptions Options
)

Public function

void

 

DisableOptions

(
    EGraphOptions Options
)

Protected function Virtual Const

void

 

DrawHeader

(
    const ITimingTrackDrawContext& Con...
)

Protected function Const

void

 

DrawSeries

(
    const FGraphSeries& Series,
    FDrawContext& DrawContext,
    const FTimingTrackViewport& Viewpo...
)

Protected function Virtual Const

void

 

DrawVerticalAxisGrid

(
    const ITimingTrackDrawContext& Con...
)

Public function

void

 

EnableOptions

(
    EGraphOptions Options
)

Protected function Virtual Const

float

 

GetBorderY()

Get the Y value that is used to provide a clipping border between adjacent graph tracks.

Public function Const

EGraphOption...

 

GetEditableOptions()

Public function Const

EGraphOption...

 

GetEnabledOptions()

Public function Const

int32

 

GetNumAddedEvents()

TODO: virtual int GetDebugStringLineCount() const override; TODO: virtual void BuildDebugString(FString& OutStr) const override;

Public function Const

int32

 

GetNumDrawBoxes()

Public function Const

int32

 

GetNumDrawLines()

Public function Const

int32

 

GetNumDrawPoints()

Public function

TArray< TSha...

 

GetSeries()

Public function

FGraphValueV...

 

GetSharedValueViewport()

Public function Const

const FGraph...

 

GetSharedValueViewport()

Public function Static

const FName ...

 

GetStaticTypeName()

Public function Const

EGraphOption...

 

GetVisibleOptions()

Public function Const

bool

 

IsAnyOptionEnabled

(
    EGraphOptions Options
)

Public function

void

 

SetEditableOptions

(
    EGraphOptions Options
)

Public function

void

 

SetEnabledOptions

(
    EGraphOptions Options
)

Public function

void

 

SetVisibleOptions

(
    EGraphOptions Options
)

Public function

void

 

ToggleOptions

(
    EGraphOptions Options
)

Protected function

void

 

UpdateStats()

Overridden from FBaseTimingTrack

Name Description

Public function Virtual

void

 

BuildContextMenu

(
    FMenuBuilder& MenuBuilder
)

Public function Virtual Const

void

 

Draw

(
    const ITimingTrackDrawContext& Con...
)

Draw callback (called from OnPaint) to draw the track's content.

Public function Virtual Const

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).

Public function Virtual Const

const TShare...

 

GetEvent

(
    float InPosX,
    float InPosY,
    const FTimingTrackViewport& Viewpo...
)

Gets the event at a specified position.

Public function Virtual Const

const FName ...

 

GetTypeName()

Public function Virtual Const

void

 

InitTooltip

(
    FTooltipDrawState& InOutTooltip,
    const ITimingEvent& InTooltipEvent
)

Called to initialize the tooltip's content with info from a timing event.

Public function Virtual Const

bool

 

IsKindOf

(
    const FName& InTypeName
)

Public function Virtual

void

 

PostUpdate

(
    const ITimingTrackUpdateContext& C...
)

PostUpdate callback called each frame, but only if the track is visible.

Public function Virtual Const

void

 

PreDraw

(
    const ITimingTrackDrawContext& Con...
)

PreDraw callback (called from OnPaint) to draw something in the background.

Public function Virtual

void

 

Reset()

Constants

Name

Description

PointSizeX

Size of points (in pixels) used in reduction algorithm.

PointSizeY

PointVisualSize

Visual size of points (in pixels).

TypeName

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss