FCurveDrawParams

Structure that defines the necessary data for painting a whole curve

Choose your operating system:

Windows

macOS

Linux

References

Module

CurveEditor

Header

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

Include

#include "CurveDrawInfo.h"

Syntax

struct FCurveDrawParams

Remarks

Structure that defines the necessary data for painting a whole curve

Variables

Name Description

Public variable

FKeyDrawInfo

 

ArriveTangentDrawInfo

Value defining how to draw keys of type ECurvePointType::ArriveTangent.

Public variable

uint8: 1

 

bKeyDrawEnabled

Whether or not to draw keys on the curve.

Public variable

FLinearColor

 

Color

The color to draw this curve

Public variable

TArray< FVector...

 

InterpolatingPoints

An array of screen-space points that define this curve's shape. Rendered as a continuous line.

Public variable

FKeyDrawInfo

 

LeaveTangentDrawInfo

Value defining how to draw keys of type ECurvePointType::LeaveTangent.

Public variable

TArray< FCurveP...

 

Points

An array of distinct curve points for the visible range.

Constructors

Name Description

Public function

FCurveDrawParams

(
    FCurveModelID InID
)

Construct new draw parameters for the specified curve ID

Functions

Name Description

Public function Const

FCurveModelI...

 

GetID()

Get the curve ID that these draw parameters relate to

Public function Const

const FKeyDr...

 

GetKeyDrawInfo

(
    ECurvePointType Type,
    const int32 InPointIndex
)

Retrieve the draw information for drawing the specified type of curve point