Navigation
API > API/Editor > API/Editor/CurveEditor
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
| Type | Name | Description | |
|---|---|---|---|
| FKeyDrawInfo | ArriveTangentDrawInfo | Value defining how to draw keys of type ECurvePointType::ArriveTangent. | |
| uint8: 1 | bKeyDrawEnabled | Whether or not to draw keys on the curve. | |
| FLinearColor | Color | The color to draw this curve | |
| TArray< FVector2D > | InterpolatingPoints | An array of screen-space points that define this curve's shape. Rendered as a continuous line. | |
| FKeyDrawInfo | LeaveTangentDrawInfo | Value defining how to draw keys of type ECurvePointType::LeaveTangent. | |
| TArray< FCurvePointInfo > | Points | An array of distinct curve points for the visible range. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FCurveDrawParams
(
FCurveModelID InID |
Construct new draw parameters for the specified curve ID |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FCurveModelID | GetID () |
Get the curve ID that these draw parameters relate to | |
| const FKeyDrawInfo & | GetKeyDrawInfo
(
ECurvePointType Type, |
Retrieve the draw information for drawing the specified type of curve point |