FAxisViewportInt32

Unreal Engine C++ API Reference > Developer > TraceInsights > Insights > ViewModels

References

   
Module TraceInsights
Header /Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/AxisViewportInt32.h
Include #include "Insights/ViewModels/AxisViewportInt32.h"

Syntax

class FAxisViewportInt32  

Constructors

Type Name Description
  FAxisViewportInt32 ()  

Functions

Type Name Description
bool CenterOnValue ( const int32 Value )  
bool CenterOnValueInterval ( const int32 IntervalStartValue, const int32 IntervalEndValue )  
bool EnforceScrollLimits ( const float InMinPos, const float InMaxPos, const float InterpolationFactor )  
float GetMaxPos ()  
float GetMaxScale ()  
int32 GetMaxValue ()  
float GetMinPos ()  
float GetMinScale ()  
int32 GetMinValue ()  
int32 GetNumSamplesPerPixel () Returns the number of samples in one pixel (Slate unit). [sample]
float GetOffsetForValue ( const int32 Value )  
float GetPos ()  
float GetPosForValue ( const int32 Value )  
float GetRoundedOffsetForValue ( const int32 Value )  
float GetSampleSize () Returns the number of pixels (Slate units) for one viewport sample. [px]
float GetScale () Current scale factor between Value units (samples) and Slate units (pixels), in pixels per sample.
void GetScrollLimits ( float& OutMinPos, float& OutMaxPos )  
float GetSize () Size of viewport, in pixels (Slate units).
int32 GetValueAtOffset ( const float Offset )  
int32 GetValueAtPos ( const float Pos )  
void OnUserScrolled ( TSharedPtr< SScrollBar > ScrollBar, float ScrollOffset )  
bool RelativeZoomWithFixedOffset ( const float Delta, const float Offset )  
void Reset ()  
bool ScrollAtPos ( const float Pos )  
bool ScrollAtValue ( const int32 Value )  
void SetMinMaxInterval ( const int32 InMinValue, const int32 InMaxValue )  
bool SetScale ( const float NewScale )  
void SetScaleLimits ( const float InMinScale, const float InMaxScale )  
bool SetSize ( const float InSize )  
FString ToDebugString ( const TCHAR* Sufix, const TCHAR* Unit )  
bool UpdatePosWithinLimits ()  
void UpdateScrollBar ( TSharedPtr< SScrollBar > ScrollBar )  
bool ZoomWithFixedOffset ( const float NewScale, const float Offset )  

Constants

Name Description
SLATE_UNITS_TOLERANCE  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library