Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Editor/CurveEditor/Public/CurveModel.h |
Include |
#include "CurveModel.h" |
void DrawCurve
(
const FCurveEditor & CurveEditor,
const FCurveEditorScreenSpace & ScreenSpace,
TArray< TTuple< double, double >> & InterpolatingPoints
) const
Draw the curve for the specified curve editor by populating an array with points on the curve between which lines should be drawn
Parameter |
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. |