Navigation
API > API/Developer > API/Developer/TraceInsights > API/Developer/TraceInsights/FGraphTrack
Description
Called to initialize the tooltip's content with info from a timing event.
In most cases, this should begin by calling `InOutTooltip.ResetContent()_ before adding any content to the tooltip. However, in case the track may be used as a child track, the tooltip content should not be reset, and instead should only be appended to (because the parent track will reset the tooltip's content.) This is because other child tracks may want to append to the tooltip's content, and their appended content should not be reset.
Virtual Inheritance
- FBaseTimingTrack::InitTooltip → FGraphTrack::InitTooltip
| Name | InitTooltip |
| Type | function |
| Header File | /Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/GraphTrack.h |
| Include Path | #include "Insights/ViewModels/GraphTrack.h" |
| Source | /Engine/Source/Developer/TraceInsights/Private/Insights/ViewModels/GraphTrack.cpp |
virtual void InitTooltip
(
FTooltipDrawState & InOutTooltip,
const ITimingEvent & InTooltipEvent
) const