FKeyBarCurveModel::DrawCurve

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

Unreal Engine C++ API Reference > Editor > CurveEditor > FKeyBarCurveModel

References

   
Module CurveEditor
Header /Engine/Source/Editor/CurveEditor/Public/KeyBarCurveModel.h
Include #include "KeyBarCurveModel.h"
virtual 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.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library