FCurveModel::DrawCurve

Draw the curve for the specified curve editor by populating an array with points on the curve between which lines should be drawn

Windows
MacOS
Linux

Override Hierarchy

References

Module

CurveEditor

Header

/Engine/Source/Editor/CurveEditor/Public/CurveModel.h

Include

#include "CurveModel.h"

Syntax

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

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss