Navigation
API > API/Editor > API/Editor/UnrealEd
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/SCurveEditor.h |
| Include | #include "SCurveEditor.h" |
Syntax
struct FTrackScaleInfo
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | PixelsPerInput | ||
| float | PixelsPerOutput | ||
| float | ViewInputRange | ||
| float | ViewMaxInput | ||
| float | ViewMaxOutput | ||
| float | ViewMinInput | ||
| float | ViewMinOutput | ||
| float | ViewOutputRange | ||
| FVector2D | WidgetSize |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FTrackScaleInfo
(
float InViewMinInput, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | |||
| float | InputToLocalX
(
float Input |
Curve Input domain -> local Widget Space | |
| float | LocalXToInput
(
float ScreenX |
Local Widget Space -> Curve Input domain. | |
| float | LocalYToOutput
(
float ScreenY |
Local Widget Space -> Curve Output domain. | |
| float | OutputToLocalY
(
float Output |
Curve Output domain -> local Widget Space |