Navigation
API > API/Developer > API/Developer/TraceInsights
| Name | FAxisViewportInt32 |
| Type | class |
| Header File | /Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/AxisViewportInt32.h |
| Include Path | #include "Insights/ViewModels/AxisViewportInt32.h" |
Syntax
class FAxisViewportInt32
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAxisViewportInt32() |
Insights/ViewModels/AxisViewportInt32.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| SLATE_UNITS_TOLERANCE | float | Insights/ViewModels/AxisViewportInt32.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MaxPosition | float | Insights/ViewModels/AxisViewportInt32.h | ||
| MaxScale | float | Insights/ViewModels/AxisViewportInt32.h | ||
| MaxValue | int32 | Insights/ViewModels/AxisViewportInt32.h | ||
| MinPosition | float | Int32 StartValue; // value of viewport's left side; [value_unit]; StartValue = GetValueAtPos(Position); computed when Position or Scale changes int32 EndValue; // value of viewport's right side; [value_unit]; EndValue = GetValueAtPos(Position + Size); computed when Position, Size or Scale changes | Insights/ViewModels/AxisViewportInt32.h | |
| MinScale | float | Insights/ViewModels/AxisViewportInt32.h | ||
| MinValue | int32 | Insights/ViewModels/AxisViewportInt32.h | ||
| Position | float | Insights/ViewModels/AxisViewportInt32.h | ||
| Scale | float | Insights/ViewModels/AxisViewportInt32.h | ||
| Size | float | Insights/ViewModels/AxisViewportInt32.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CenterOnValue
(
const int32 Value |
Insights/ViewModels/AxisViewportInt32.h | ||
bool CenterOnValueInterval
(
const int32 IntervalStartValue, |
Insights/ViewModels/AxisViewportInt32.h | ||
bool EnforceScrollLimits
(
const float InMinPos, |
Insights/ViewModels/AxisViewportInt32.h | ||
float GetMaxPos() |
Insights/ViewModels/AxisViewportInt32.h | ||
float GetMaxScale() |
Insights/ViewModels/AxisViewportInt32.h | ||
int32 GetMaxValue() |
Insights/ViewModels/AxisViewportInt32.h | ||
float GetMinPos() |
Insights/ViewModels/AxisViewportInt32.h | ||
float GetMinScale() |
Insights/ViewModels/AxisViewportInt32.h | ||
int32 GetMinValue() |
Insights/ViewModels/AxisViewportInt32.h | ||
int32 GetNumSamplesPerPixel() |
Returns the number of samples in one pixel (Slate unit). [sample] | Insights/ViewModels/AxisViewportInt32.h | |
float GetOffsetForValue
(
const int32 Value |
Insights/ViewModels/AxisViewportInt32.h | ||
float GetPos() |
Insights/ViewModels/AxisViewportInt32.h | ||
float GetPosForValue
(
const int32 Value |
Insights/ViewModels/AxisViewportInt32.h | ||
float GetRoundedOffsetForValue
(
const int32 Value |
Insights/ViewModels/AxisViewportInt32.h | ||
float GetSampleSize() |
Returns the number of pixels (Slate units) for one viewport sample. [px] | Insights/ViewModels/AxisViewportInt32.h | |
float GetScale () |
Current scale factor between Value units (samples) and Slate units (pixels), in pixels per sample. | Insights/ViewModels/AxisViewportInt32.h | |
void GetScrollLimits
(
float& OutMinPos, |
Insights/ViewModels/AxisViewportInt32.h | ||
float GetSize () |
Size of viewport, in pixels (Slate units). | Insights/ViewModels/AxisViewportInt32.h | |
int32 GetValueAtOffset
(
const float Offset |
Insights/ViewModels/AxisViewportInt32.h | ||
int32 GetValueAtPos
(
const float Pos |
Insights/ViewModels/AxisViewportInt32.h | ||
void OnUserScrolled
(
TSharedPtr< SScrollBar > ScrollBar, |
Insights/ViewModels/AxisViewportInt32.h | ||
bool RelativeZoomWithFixedOffset
(
const float Delta, |
Insights/ViewModels/AxisViewportInt32.h | ||
void Reset() |
Insights/ViewModels/AxisViewportInt32.h | ||
bool ScrollAtPos
(
const float Pos |
Insights/ViewModels/AxisViewportInt32.h | ||
bool ScrollAtValue
(
const int32 Value |
Insights/ViewModels/AxisViewportInt32.h | ||
void SetMinMaxInterval
(
const int32 InMinValue, |
Insights/ViewModels/AxisViewportInt32.h | ||
bool SetScale
(
const float NewScale |
Insights/ViewModels/AxisViewportInt32.h | ||
void SetScaleLimits
(
const float InMinScale, |
Insights/ViewModels/AxisViewportInt32.h | ||
bool SetSize
(
const float InSize |
Insights/ViewModels/AxisViewportInt32.h | ||
FString ToDebugString
(
const TCHAR* Sufix, |
Insights/ViewModels/AxisViewportInt32.h | ||
bool UpdatePosWithinLimits() |
Insights/ViewModels/AxisViewportInt32.h | ||
void UpdateScrollBar
(
TSharedPtr< SScrollBar > ScrollBar |
Insights/ViewModels/AxisViewportInt32.h | ||
bool ZoomWithFixedOffset
(
const float NewScale, |
Insights/ViewModels/AxisViewportInt32.h |