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

bool

 

bDrawBaseline

Protected variable

bool

 

bDrawBoxes

Protected variable

bool

 

bDrawDebugInfo

Protected variable

bool

 

bDrawLines

Protected variable

bool

 

bDrawPoints

Protected variable

bool

 

bDrawPointsWithBorder

Protected variable

bool

 

bDrawPolygon

Protected variable

const FSlateBru...

 

BorderBrush

Protected variable

bool

 

bUseEventDuration

Protected variable

EGraphOptions

 

EditableOptions

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

EGraphOptions

 

VisibleOptions

Flags controlling whether menu items are available.

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

Protected function Const

void

 

DrawSeries

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

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

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 Static

const FName ...

 

GetStaticTypeName()

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