Navigation
API > API/Editor > API/Editor/CurveEditor > API/Editor/CurveEditor/FCurveModel
Description
Draws curve draw params to a cache pool. Curves can implement this to improve performance over DrawCurve by caching their data.
| Name | DrawCurveToCachePool |
| Type | function |
| Header File | /Engine/Source/Editor/CurveEditor/Public/CurveModel.h |
| Include Path | #include "CurveModel.h" |
virtual UE::CurveEditor::ICurveEditorCurveCachePool * DrawCurveToCachePool
(
const TSharedRef < FCurveEditor > & CurveEditor,
const UE::CurveEditor::FCurveDrawParamsHandle & CurveDrawParamsHandle,
const FCurveEditorScreenSpace & ScreenSpace
)
Returns the cache pool or nullptr if the curve model does not implement a cache pool.
Parameters
| Name | Remarks |
|---|---|
| WeakCurveEditor | Weak reference to the curve editor that is drawing the curve. |
| CurveDrawParamsHandle | A handle to the actual curve draw params. |
| ScreenSpace | The screenspace of this curve |