Navigation
API > API/Developer > API/Developer/TraceInsights > API/Developer/TraceInsights/Insights > API/Developer/TraceInsights/Insights/ViewModels
References
| Module | TraceInsights |
| Header | /Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/TimingTrackViewport.h |
| Include | #include "Insights/ViewModels/TimingTrackViewport.h" |
Syntax
class FTimingTrackViewport
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddDirtyFlags
(
ETimingTrackViewportDirtyFlags InFlags |
||
| double | AlignTimeToPixel
(
const double Time |
||
| double | AlignTimeToPixel
(
const double InTime, |
||
| bool | CenterOnTimeInterval
(
const double Time, |
||
| bool | EnforceHorizontalScrollLimits
(
const double U |
||
| float | Bottom offset (total height of the visible bottom docked tracks), in pixels. [px] | ||
| ETimingTrackViewportDirtyFlags | |||
| double | GetDuration () |
||
| double | GetDurationForViewportDX
(
const float DX |
||
| double | GetEndTime () |
Time of viewport's right side, in seconds. [s] Computed when StartTime, ScaleX or Width changes. | |
| float | GetHeight () |
Height of viewport, in pixels. [px] | |
| void | GetHorizontalScrollLimits
(
double& OutMinT, |
||
| const FTimingViewLayout & | GetLayout () |
||
| double | GetMaxScaleX () |
||
| double | Maximum session time, in seconds. [s] | ||
| double | GetMinScaleX () |
||
| double | Minimum session time, in seconds. [s] | ||
| float | GetPosY () |
The Y position where it starts the top docked tracks (i.e. height of the toolbar), in pixels. [px] | |
| double | GetScaleX () |
Current scale factor between seconds and pixels (Slate units). [px/s] | |
| float | |||
| float | Height of the vertical (virtual) scrollable area, in pixels. [px] | ||
| float | Current vertical scroll position, in pixels. [px] | ||
| double | GetStartTime () |
Time of viewport's left side, in seconds. [s] | |
| float | GetTopOffset () |
Top offset (total height of the visible top docked tracks), in pixels. [px] | |
| float | GetViewportDXForDuration
(
const double DT |
||
| float | GetViewportY
(
const float Y |
||
| float | GetWidth () |
Width of viewport, in pixels. [px] | |
| bool | IsDirty () |
||
| bool | IsDirty
(
ETimingTrackViewportDirtyFlags InDirtyFlags |
||
| bool | |||
| bool | |||
| bool | |||
| bool | OnUserScrolled
(
TSharedPtr< SScrollBar > ScrollBar, |
||
| bool | OnUserScrolledY
(
TSharedPtr< SScrollBar > ScrollBar, |
||
| bool | RelativeZoomWithFixedX
(
const float Delta, |
||
| void | Reset () |
||
| void | |||
| double | RestrictDuration
(
const double InStartTime, |
||
| double | RestrictEndTime
(
const double InEndTime |
||
| bool | ScrollAtTime
(
const double Time |
||
| void | SetBottomOffset
(
float InBottomOffset |
||
| void | SetMaxValidTime
(
const double InMaxValidTime |
||
| void | SetPosY
(
float InPosY |
||
| bool | SetScaleX
(
const double NewScaleX |
||
| void | SetScrollHeight
(
const float InScrollHeight |
||
| void | SetScrollPosY
(
const float InScrollPosY |
||
| void | SetTopOffset
(
float InTopOffset |
||
| double | SlateUnitsToTime
(
const float X |
||
| void | |||
| float | TimeToSlateUnits
(
const double Time |
||
| float | TimeToSlateUnitsRounded
(
const double Time |
||
| void | |||
| void | UpdateLayout () |
||
| void | UpdateScrollBar
(
TSharedPtr< SScrollBar > ScrollBar |
||
| void | UpdateScrollBarY
(
TSharedPtr< SScrollBar > ScrollBar |
||
| bool | UpdateSize
(
const float InWidth, |
||
| bool | ZoomOnTimeInterval
(
const double Time, |
||
| bool | ZoomWithFixedX
(
const double NewScaleX, |