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/AxisViewportInt32.h |
| Include | #include "Insights/ViewModels/AxisViewportInt32.h" |
Syntax
class FAxisViewportInt32
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CenterOnValue
(
const int32 Value |
||
| bool | CenterOnValueInterval
(
const int32 IntervalStartValue, |
||
| bool | EnforceScrollLimits
(
const float InMinPos, |
||
| float | GetMaxPos () |
||
| float | GetMaxScale () |
||
| int32 | GetMaxValue () |
||
| float | GetMinPos () |
||
| float | GetMinScale () |
||
| int32 | GetMinValue () |
||
| int32 | 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 | 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 | GetSize () |
Size of viewport, in pixels (Slate units). | |
| int32 | GetValueAtOffset
(
const float Offset |
||
| int32 | GetValueAtPos
(
const float Pos |
||
| void | OnUserScrolled
(
TSharedPtr< SScrollBar > ScrollBar, |
||
| bool | RelativeZoomWithFixedOffset
(
const float Delta, |
||
| void | Reset () |
||
| bool | ScrollAtPos
(
const float Pos |
||
| bool | ScrollAtValue
(
const int32 Value |
||
| void | SetMinMaxInterval
(
const int32 InMinValue, |
||
| bool | SetScale
(
const float NewScale |
||
| void | SetScaleLimits
(
const float InMinScale, |
||
| bool | SetSize
(
const float InSize |
||
| FString | ToDebugString
(
const TCHAR* Sufix, |
||
| bool | |||
| void | UpdateScrollBar
(
TSharedPtr< SScrollBar > ScrollBar |
||
| bool | ZoomWithFixedOffset
(
const float NewScale, |
Constants
| Name | Description |
|---|---|
| SLATE_UNITS_TOLERANCE |