| FBaseTimingTrack::GetEvent()
|
Module |
|
Header |
/Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/BaseTimingTrack.h |
Include |
#include "Insights/ViewModels/BaseTimingTrack.h" |
virtual const TSharedPtr< const ITimingEvent > GetEvent
(
float InPosX,
float InPosY,
const FTimingTrackViewport & Viewport
) const
Gets the event at a specified position. Leaves the InOutEvent unchanged if no event is found at specified position.
The event located at (PosX, PosY) coordinates, if any; nullptr ottherwise.
Parameter |
Description |
---|---|
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. |