FBaseTimingTrack::GetEvent

Gets the event at a specified position.

Windows
MacOS
Linux

Override Hierarchy

References

Module

TraceInsights

Header

/Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/BaseTimingTrack.h

Include

#include "Insights/ViewModels/BaseTimingTrack.h"

Syntax

virtual const TSharedPtr< const ITimingEvent > GetEvent
(
    float InPosX,
    float InPosY,
    const FTimingTrackViewport & Viewport
) const

Remarks

Gets the event at a specified position. Leaves the InOutEvent unchanged if no event is found at specified position.

Returns

The event located at (PosX, PosY) coordinates, if any; nullptr ottherwise.

Parameters

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss