Navigation
Unreal Engine C++ API Reference > Developer > TraceInsights > Insights > ViewModels > FBaseTimingTrack
- FBaseTimingTrack::GetEvent()
- FTimingEventsTrack::GetEvent()
- FGraphTrack::GetEvent()
References
Module | TraceInsights |
Header | /Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/BaseTimingTrack.h |
Include | #include "Insights/ViewModels/BaseTimingTrack.h" |
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. |