FTimingTrackViewport

Unreal Engine C++ API Reference > 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
  FTimingTrackViewport ()  

Functions

Type Name Description
void AddDirtyFlags ( ETimingTrackViewportDirtyFlags InFl... )  
double AlignTimeToPixel ( const double Time )  
double AlignTimeToPixel ( const double InTime, const double InScaleX )  
bool CenterOnTimeInterval ( const double Time, const double Duration )  
bool EnforceHorizontalScrollLimits ( const double U )  
float GetBottomOffset () Bottom offset (total height of the visible bottom docked tracks), in pixels. [px]
ETimingTrack... GetDirtyFlags ()  
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, double& OutMaxT )  
const FTimin... GetLayout ()  
double GetMaxScaleX ()  
double GetMaxValidTime () Maximum session time, in seconds. [s]
double GetMinScaleX ()  
double GetMinValidTime () 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 GetScrollableAreaHeight ()  
float GetScrollHeight () Height of the vertical (virtual) scrollable area, in pixels. [px]
float GetScrollPosY () 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 InDi... )  
bool IsHorizontalViewportDirty ()  
bool IsLayoutCompactModeEnabled ()  
bool IsVerticalViewportDirty ()  
bool OnUserScrolled ( TSharedPtr< SScrollBar > ScrollBar, float ScrollOffset )  
bool OnUserScrolledY ( TSharedPtr< SScrollBar > ScrollBar, float ScrollOffset )  
bool RelativeZoomWithFixedX ( const float Delta, const float X )  
void Reset ()  
void ResetDirtyFlags ()  
double RestrictDuration ( const double InStartTime, const double InEndTime )  
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 SwitchLayoutCompactMode ()  
float TimeToSlateUnits ( const double Time )  
float TimeToSlateUnitsRounded ( const double Time )  
void ToggleLayoutMinTrackHeight ()  
void UpdateLayout ()  
void UpdateScrollBar ( TSharedPtr< SScrollBar > ScrollBar )  
void UpdateScrollBarY ( TSharedPtr< SScrollBar > ScrollBar )  
bool UpdateSize ( const float InWidth, const float InHeight )  
bool ZoomOnTimeInterval ( const double Time, const double Duration )  
bool ZoomWithFixedX ( const double NewScaleX, const float X )  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library