FCurveEditorScreenSpaceH

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

Choose your operating system:

Windows

macOS

Linux

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

Name Description

Public function

FCurveEditorScreenSpaceH

(
    float InPixelWidth,
    double InInputMin,
    double InInputMax
)

Construction from a physical size, and input/output range

Functions

Name Description

Public function Const

double

 

GetInputMax()

Get the maximum input value displayed on the screen

Public function Const

double

 

GetInputMin()

Get the minimum input value displayed on the screen

Public function Const

float

 

GetPhysicalWidth()

Get the physical width of the screen

Public function Const

float

 

PixelsPerInput()

Retrieve the number of slate units per input value

Public function Const

double

 

ScreenToSeconds

(
    float ScreenPosition
)

Convert a horizontal screen position in slate units to a value in seconds

Public function Const

float

 

SecondsToScreen

(
    double InSeconds
)

Convert a value in seconds to a horizontal screen position in slate units

Public function Const

FCurveEditor...

 

ToCurveSpace

(
    const FTransform2D& CurveTransform
)

Transform this screen space into a curve space using the specified transform