Navigation
API > API/Editor > API/Editor/CurveEditor
Curve viewer widget that reflects the state of an FCurveEditor
| Name | SCurveViewerPanel |
| Type | class |
| Header File | /Engine/Source/Editor/CurveEditor/Public/SCurveViewerPanel.h |
| Include Path | #include "SCurveViewerPanel.h" |
Syntax
class SCurveViewerPanel : public SCurveEditorView
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SCurveEditorView → SCurveViewerPanel
- FSlateControlledConstruction → SWidget → SCompoundWidget → SCurveEditorView → SCurveViewerPanel
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedDrawParams | TArray< FCurveDrawParams > | Curve draw parameters that are re-generated on tick | SCurveViewerPanel.h | |
| CurveThickness | TAttribute< float > | Thickness of the displayed curve | SCurveViewerPanel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs, |
Construct a new curve editor panel widget | SCurveViewerPanel.h | |
void DrawCurves
(
const FGeometry& AllottedGeometry, |
Draw curve data | SCurveViewerPanel.h | |
const TArray< FCurveDrawParams > & GetCachedDrawParams() |
Access the draw parameters that this curve editor has cached for this frame | SCurveViewerPanel.h |