Navigation
API > API/Editor > API/Editor/CurveEditor
Utility struct used for converting to/from curve editor screen space
| Name | FCurveEditorScreenSpaceV |
| Type | struct |
| Header File | /Engine/Source/Editor/CurveEditor/Public/CurveEditorScreenSpace.h |
| Include Path | #include "CurveEditorScreenSpace.h" |
Syntax
struct FCurveEditorScreenSpaceV
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCurveEditorScreenSpaceV
(
double InPixelHeight, |
Construction from a physical size, and input/output range | CurveEditorScreenSpace.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OutputMax | double | CurveEditorScreenSpace.h | ||
| OutputMin | double | CurveEditorScreenSpace.h | ||
| PixelHeight | double | CurveEditorScreenSpace.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
double GetOutputMax() |
Get the maximum output value displayed on the screen | CurveEditorScreenSpace.h | |
double GetOutputMin() |
Get the minimum output value displayed on the screen | CurveEditorScreenSpace.h | |
double GetPhysicalHeight() |
Get the physical height of the screen | CurveEditorScreenSpace.h | |
double PixelsPerOutput() |
Retrieve the number of slate units per output value | CurveEditorScreenSpace.h | |
double ScreenToValue
(
double ScreenPosition |
Convert a vertical screen position in slate units to a value | CurveEditorScreenSpace.h | |
FCurveEditorScreenSpaceV ToCurveSpace
(
const FTransform2d& CurveTransform |
Transform this screen space into a curve space using the specified transform | CurveEditorScreenSpace.h | |
double ValueToScreen
(
double InValue |
Convert a value to a vertical screen position in slate units | CurveEditorScreenSpace.h |