Navigation
API > API/Editor > API/Editor/CurveEditor > API/Editor/CurveEditor/FKeyBarCurveModel
- FCurveModel::DrawCurve()
- FKeyBarCurveModel::DrawCurve()
References
| Module | CurveEditor |
| Header | /Engine/Source/Editor/CurveEditor/Public/KeyBarCurveModel.h |
| Include | #include "KeyBarCurveModel.h" |
virtual void DrawCurve
(
const FCurveEditor & CurveEditor,
const FCurveEditorScreenSpace & ScreenSpace,
TArray< TTuple< double, double > > & InterpolatingPoints
) const
Remarks
Draw the curve for the specified curve editor by populating an array with points on the curve between which lines should be drawn
Parameters
| Name | Description |
|---|---|
| CurveEditor | Reference to the curve editor that is drawing the curve. Can be used to cull the interpolating points to the visible region. |
| ScreenSpace | A transform which indicates the use case for the drawn curve. This lets you simplify curves based on their screenspace representation. |
| OutInterpolatingPoints | Array to populate with points (time, value) that lie on the curve. |