Navigation
API > API/Editor > API/Editor/CurveEditor
Inheritance Hierarchy
- FCurveEditorScreenSpaceV
- FCurveEditorScreenSpace
References
| Module | CurveEditor |
| Header | /Engine/Source/Editor/CurveEditor/Public/CurveEditorScreenSpace.h |
| Include | #include "CurveEditorScreenSpace.h" |
Syntax
struct FCurveEditorScreenSpaceV
Remarks
Utility struct used for converting to/from curve editor screen space
Constructors
| Type | Name | Description | |
|---|---|---|---|
FCurveEditorScreenSpaceV
(
float InPixelHeight, |
Construction from a physical size, and input/output range |
Functions
| Type | Name | Description | |
|---|---|---|---|
| double | GetOutputMax () |
Get the maximum output value displayed on the screen | |
| double | GetOutputMin () |
Get the minimum output value displayed on the screen | |
| float | Get the physical height of the screen | ||
| float | Retrieve the number of slate units per output value | ||
| double | ScreenToValue
(
float ScreenPosition |
Convert a vertical screen position in slate units to a value | |
| FCurveEditorScreenSpaceV | ToCurveSpace
(
const FTransform2D& CurveTransform |
Transform this screen space into a curve space using the specified transform | |
| float | ValueToScreen
(
double InValue |
Convert a value to a vertical screen position in slate units |