Navigation
Unreal Engine C++ API Reference > 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< FVector... | 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< FCurveP... | 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 |
---|---|---|
FCurveModelI... | GetID () | Get the curve ID that these draw parameters relate to |
const FKeyDr... | GetKeyDrawInfo ( ECurvePointType Type, const int32 InPointIndex ) | Retrieve the draw information for drawing the specified type of curve point |