Navigation
API > API/Developer > API/Developer/TraceInsights > API/Developer/TraceInsights/FBaseTimingTrack
Description
Gets the event at a specified position. Leaves the InOutEvent unchanged if no event is found at specified position.
Derived Overrides
| Name | GetEvent |
| Type | function |
| Header File | /Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/BaseTimingTrack.h |
| Include Path | #include "Insights/ViewModels/BaseTimingTrack.h" |
virtual const TSharedPtr < const ITimingEvent > GetEvent
(
float InPosX,
float InPosY,
const FTimingTrackViewport & Viewport
) const
The event located at (PosX, PosY) coordinates, if any; nullptr otherwise.
Parameters
| Name | Remarks |
|---|---|
| X | The horizontal coordinate of the point tested; in Slate pixels (viewport coordinates). |
| Y | The vertical coordinate of the point tested; in Slate pixels (viewport coordinates). |
| Viewport | The timing viewport used to transform time in viewport coordinates. |