Navigation
API > API/Editor > API/Editor/UnrealEd
Utility struct for converting between curve space and local/absolute screen space. The input domain is traditionally the time axis of the curve, and the output domain is traditionally the value axis.
| Name | FTrackScaleInfo |
| Type | struct |
| Header File | /Engine/Source/Editor/UnrealEd/Public/SCurveEditor.h |
| Include Path | #include "SCurveEditor.h" |
Syntax
struct FTrackScaleInfo
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTrackScaleInfo
(
float InViewMinInput, |
SCurveEditor.h | ||
FTrackScaleInfo
(
float InViewMinInput, |
SCurveEditor.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PixelsPerInput | float | SCurveEditor.h | ||
| PixelsPerOutput | float | SCurveEditor.h | ||
| ViewInputRange | float | SCurveEditor.h | ||
| ViewMaxInput | float | SCurveEditor.h | ||
| ViewMaxOutput | float | SCurveEditor.h | ||
| ViewMinInput | float | SCurveEditor.h | ||
| ViewMinOutput | float | SCurveEditor.h | ||
| ViewOutputRange | float | SCurveEditor.h | ||
| WidgetSize | FVector2f | SCurveEditor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetTrackCenterY() |
SCurveEditor.h | ||
float InputToLocalX
(
float Input |
Curve Input domain -> local Widget Space | SCurveEditor.h | |
float LocalXToInput
(
float ScreenX |
Local Widget Space -> Curve Input domain. | SCurveEditor.h | |
float LocalYToOutput
(
float ScreenY |
Local Widget Space -> Curve Output domain. | SCurveEditor.h | |
float OutputToLocalY
(
float Output |
Curve Output domain -> local Widget Space | SCurveEditor.h |