ICurveEditorToolExtension

You can extend the Curve Editor toolset by implementing this interface.

Unreal Engine C++ API Reference > 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
FOnOptionsRefre... OnOptionsRefreshDelegate  
FCurveEditorToo... ToolID  

Constructors

Type Name Description
  ICurveEditorToolExtension ()  

Destructors

Type Name Description
  ~ICurveEditorToolExtension ()  

Functions

Type Name Description
void BindCommands ( TSharedRef< FUICommandList > Comman... ) Allows the tool to bind commands.
TSharedPtr< ... GetToolOptions ()  
void OnFocusLost ( const FFocusEvent& InFocusEvent )  
FReply OnMouseButtonDoubleClick ( TSharedRef< SWidget > OwningWidget, const FGeometry& InMyGeometry, const FPointerEvent& InMouseEvent )  
FReply OnMouseButtonDown ( TSharedRef< SWidget > OwningWidget, const FGeometry& MyGeometry, const FPointerEvent& MouseEvent )  
FReply OnMouseButtonUp ( TSharedRef< SWidget > OwningWidget, const FGeometry& MyGeometry, const FPointerEvent& MouseEvent )  
FReply OnMouseMove ( TSharedRef< SWidget > OwningWidget, const FGeometry& MyGeometry, const FPointerEvent& MouseEvent )  
void OnPaint ( const FPaintArgs& Args, const FGeometry& AllottedGeometry, const FSlateRect& MyCullingRect, FSlateWindowElementList& OutDrawEl..., int32 PaintOnLayerId, const FWidgetStyle& InWidgetStyle, bool bParentEnabled )  
void OnToolActivated () This is called when the tool is activated by switching from another tool.
void OnToolDeactivated () This is called when the tool is deactivated by switching to another tool.
void OnToolOptionsUpdated ( const FPropertyChangedEvent& Prope... )  
void SetToolID ( const FCurveEditorToolID InToolID ) Allows the tool to add menu items to the toolbar in the Curve Editor.
void Tick ( const FGeometry& AllottedGeometry, const double InCurrentTime, const float InDeltaTime )  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library