FCurveEditorScreenSpaceV

Utility struct used for converting to/from curve editor screen space

Unreal Engine C++ API Reference > Editor > CurveEditor

Inheritance Hierarchy

  • FCurveEditorScreenSpaceV

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, double InOutputMin, double InOutputMax ) 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 GetPhysicalHeight () Get the physical height of the screen
float PixelsPerOutput () Retrieve the number of slate units per output value
double ScreenToValue ( float ScreenPosition ) Convert a vertical screen position in slate units to a value
FCurveEditor... 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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library