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