Navigation
Unreal Engine C++ API Reference > Developer > TraceInsights > Insights > ViewModels > FGraphSeries
References
Module | TraceInsights |
Header | /Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/GraphSeries.h |
Include | #include "Insights/ViewModels/GraphSeries.h" |
Source | /Engine/Source/Developer/TraceInsights/Private/Insights/ViewModels/GraphSeries.cpp |
const [FGraphSeriesEvent](API\Developer\TraceInsights\Insights\ViewModels\FGraphSeriesEvent) * GetEvent ( const float PosX, const float PosY, const [FTimingTrackViewport](API\Developer\TraceInsights\Insights\ViewModels\FTimingTrackViewport) & Viewport, bool bCheckLine, bool bCheckBox ) const
A pointer to an Event located at (X, Y) coordinates, if any; nullptr if no event is located at respective coordinates The returned pointer is valid only temporary until next Reset() or next usage of FGraphTrackBuilder for this series/track.
Parameters
Name | Description |
---|---|
X | The horizontal coordinate of the point tested; in Slate pixels (local graph coordinates) |
Y | The vertical coordinate of the point tested; in Slate pixels (local graph coordinates) |
Viewport | The timing viewport used to transform time in local graph coordinates |
bCheckLine | If needs to check the bounding box of the horizontal line (determined by duration of event and value) or only the bounding box of the visual point |
bCheckBox | If needs to check the bounding box of the entire visual box (determined by duration of event, value and baseline) |