FCurveEditorScreenSpace

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

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

CurveEditor

Header

/Engine/Source/Editor/CurveEditor/Public/CurveEditorScreenSpace.h

Include

#include "CurveEditorScreenSpace.h"

Syntax

struct FCurveEditorScreenSpace :
    public FCurveEditorScreenSpaceH,
    public FCurveEditorScreenSpaceV

Remarks

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

Constructors

Name Description

Public function

FCurveEditorScreenSpace

(
    FVector2D InPixelSize,
    double InInputMin,
    double InInputMax,
    double InOutputMin,
    double InOutputMax
)

Construction from a physical size, and input/output range

Functions

Name Description

Public function Const

FVector2D

 

GetPhysicalSize()

Get the physical size of the screen

Public function Const

FCurveEditor...

 

ToCurveSpace

(
    const FTransform2D& CurveTransform
)

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