Navigation
API > API/Editor > API/Editor/CurveEditor
Structure that defines the necessary data for painting a whole curve
| Name | FCurveDrawParams |
| Type | struct |
| Header File | /Engine/Source/Editor/CurveEditor/Public/CurveDrawInfo.h |
| Include Path | #include "CurveDrawInfo.h" |
Syntax
struct FCurveDrawParams
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCurveDrawParams
(
FCurveModelID InID |
Construct new draw parameters for the specified curve ID | CurveDrawInfo.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ArriveTangentDrawInfo | FKeyDrawInfo | Value defining how to draw keys of type ECurvePointType::ArriveTangent. | CurveDrawInfo.h | |
| bDrawInterpolatingPoints | uint8 | If false, the interpolating points will not be painted. | CurveDrawInfo.h | |
| bKeyDrawEnabled | uint8 | Whether or not to draw keys on the curve. | CurveDrawInfo.h | |
| Color | FLinearColor | The color to draw this curve | CurveDrawInfo.h | |
| DashLengthPx | float | The color to draw this curve | CurveDrawInfo.h | |
| InterpolatingPoints | TArray< FVector2D > | An array of screen-space points that define this curve's shape. Rendered as a continuous line. | CurveDrawInfo.h | |
| LeaveTangentDrawInfo | FKeyDrawInfo | Value defining how to draw keys of type ECurvePointType::LeaveTangent. | CurveDrawInfo.h | |
| Points | TArray< FCurvePointInfo > | An array of distinct curve points for the visible range. | CurveDrawInfo.h | |
| Thickness | float | Thickness of this curve | CurveDrawInfo.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ID | FCurveModelID | Immutable curve ID | CurveDrawInfo.h | |
| InvalidDrawInfo | FKeyDrawInfo | Immutable dummy key draw info to return | CurveDrawInfo.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCurveModelID GetID() |
Get the curve ID that these draw parameters relate to | CurveDrawInfo.h | |
const FKeyDrawInfo & GetKeyDrawInfo
(
ECurvePointType Type, |
Retrieve the draw information for drawing the specified type of curve point | CurveDrawInfo.h |