Navigation
API > API/Editor > API/Editor/CurveEditor > API/Editor/CurveEditor/ICurveEditorModule
Description
- Register a new view factory function that can be used on the curve editor when relevant curves are found
-
A maximum of 64 registered view types are supported. View type IDs are not recycled.
| Name | RegisterView |
| Type | function |
| Header File | /Engine/Source/Editor/CurveEditor/Public/ICurveEditorModule.h |
| Include Path | #include "ICurveEditorModule.h" |
ECurveEditorViewID RegisterView
(
FOnCreateCurveEditorView InCreateViewDelegate
)
A new custom view ID that identifies the registered view type. Any curve models that wish to support this view must |= this enum to its FCurveModel::SupportedViews;
Parameters
| Name | Remarks |
|---|---|
| InCreateViewDelegate | (required) A bound delegate that creates a new instance of the view widget. Delegate signature is TSharedRef |