Navigation
API > API/Developer > API/Developer/TraceInsights > API/Developer/TraceInsights/Insights > API/Developer/TraceInsights/Insights/ViewModels > API/Developer/TraceInsights/Insights/ViewModels/FGraphTrack
- FBaseTimingTrack::GetEvent()
- FGraphTrack::GetEvent()
References
Module | TraceInsights |
Header | /Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/GraphTrack.h |
Include | #include "Insights/ViewModels/GraphTrack.h" |
Source | /Engine/Source/Developer/TraceInsights/Private/Insights/ViewModels/GraphTrack.cpp |
virtual const TSharedPtr< const ITimingEvent > GetEvent
&40;
float InPosX,
float InPosY,
const FTimingTrackViewport & Viewport
&41; const
Remarks
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.
Parameters
Name | 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. |