Navigation
API > API/Developer > API/Developer/TraceInsights > API/Developer/TraceInsights/FTimingEventsTrack
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const TSharedPtr< const ITimingEvent > GetEvent
(
float InPosX, |
Gets the event at a specified position. | Insights/ViewModels/TimingEventsTrack.h | |
virtual const TSharedPtr< const ITimingEvent > GetEvent
(
double InTime, |
Insights/ViewModels/TimingEventsTrack.h |
GetEvent(float, float, const FTimingTrackViewport &)
Description
Gets the event at a specified position. Leaves the InOutEvent unchanged if no event is found at specified position.
| Name | GetEvent |
| Type | function |
| Header File | /Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/TimingEventsTrack.h |
| Include Path | #include "Insights/ViewModels/TimingEventsTrack.h" |
| Source | /Engine/Source/Developer/TraceInsights/Private/Insights/ViewModels/TimingEventsTrack.cpp |
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. |
GetEvent(double, double, int32)
| Name | GetEvent |
| Type | function |
| Header File | /Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/TimingEventsTrack.h |
| Include Path | #include "Insights/ViewModels/TimingEventsTrack.h" |
| Source | /Engine/Source/Developer/TraceInsights/Private/Insights/ViewModels/TimingEventsTrack.cpp |
virtual const TSharedPtr < const ITimingEvent > GetEvent
(
double InTime,
double SecondsPerPixel,
int32 Depth
) const