Navigation
API > API/Editor > API/Editor/CurveEditor
References
| Module | CurveEditor |
| Header | /Engine/Source/Editor/CurveEditor/Public/ICurveEditorToolExtension.h |
| Include | #include "ICurveEditorToolExtension.h" |
Syntax
class ICurveEditorToolExtension
Remarks
You can extend the Curve Editor toolset by implementing this interface. The Curve Editor guarantees that only one tool will be active at any given time. A tool needs to specify if they handled certain mouse events so that these events can be bubbled to the rest of the Curve Editor to allow common functionality of selecting/deselecting keys, panning, etc.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOnOptionsRefresh | OnOptionsRefreshDelegate | ||
| FCurveEditorToolID | ToolID |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BindCommands
(
TSharedRef< FUICommandList > CommandBindings |
Allows the tool to bind commands. | |
| TSharedPtr< FStructOnScope > | |||
| void | OnFocusLost
(
const FFocusEvent& InFocusEvent |
||
| FReply | OnMouseButtonDoubleClick
(
TSharedRef< SWidget > OwningWidget, |
||
| FReply | OnMouseButtonDown
(
TSharedRef< SWidget > OwningWidget, |
||
| FReply | OnMouseButtonUp
(
TSharedRef< SWidget > OwningWidget, |
||
| FReply | OnMouseMove
(
TSharedRef< SWidget > OwningWidget, |
||
| void | OnPaint
(
const FPaintArgs& Args, |
||
| void | This is called when the tool is activated by switching from another tool. | ||
| void | This is called when the tool is deactivated by switching to another tool. | ||
| void | OnToolOptionsUpdated
(
const FPropertyChangedEvent& PropertyChangedEvent |
||
| void | SetToolID
(
const FCurveEditorToolID InToolID |
Allows the tool to add menu items to the toolbar in the Curve Editor. | |
| void |