FCurveEditorScreenSpaceH

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

Unreal Engine C++ API Reference > Editor > CurveEditor

Inheritance Hierarchy

  • FCurveEditorScreenSpaceH

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 ( float InPixelWidth, double InInputMin, double InInputMax ) 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
float GetPhysicalWidth () Get the physical width of the screen
float PixelsPerInput () Retrieve the number of slate units per input value
double ScreenToSeconds ( float ScreenPosition ) Convert a horizontal screen position in slate units to a value in seconds
float SecondsToScreen ( double InSeconds ) Convert a value in seconds to a horizontal screen position in slate units
FCurveEditor... ToCurveSpace ( const FTransform2D& CurveTransform ) Transform this screen space into a curve space using the specified transform

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library