Navigation
Unreal Engine C++ API Reference > Editor > CurveEditor > FCurveModel
- FCurveModel::DrawCurve()
References
Module | CurveEditor |
Header | /Engine/Source/Editor/CurveEditor/Public/CurveModel.h |
Include | #include "CurveModel.h" |
void DrawCurve ( const [FCurveEditor](API\Editor\CurveEditor\FCurveEditor) & CurveEditor, const [FCurveEditorScreenSpace](API\Editor\CurveEditor\FCurveEditorScreenSpace) & ScreenSpace, [TArray](API\Runtime\Core\Containers\TArray)< [TTuple](API\Runtime\Core\Misc\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. |