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